Skip to content

Commit

Permalink
chore: change prefix for base url
Browse files Browse the repository at this point in the history
Use the main server url as base, then pass version through path.
  • Loading branch information
jbergstroem committed Sep 10, 2024
1 parent 0ce7065 commit 143ce86
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions topsort-api-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ info:
version: 2.0.0

servers:
- url: https://api.topsort.com/v2
description: Auctions v2 path
- url: https://api.topsort.com/
description: Base API URL

tags:
- name: Auctions
Expand Down Expand Up @@ -87,7 +87,7 @@ security:
- BearerAuth: []

paths:
/auctions:
/v2/auctions:
post:
tags:
- Auctions
Expand Down Expand Up @@ -241,7 +241,7 @@ paths:
$ref: '#/components/responses/BadRequest'
401:
$ref: '#/components/responses/UnauthorizedError'
/events:
/v2/events:
post:
tags:
- Events
Expand Down

0 comments on commit 143ce86

Please sign in to comment.