From 143ce864aa263f92c8cb7a12f21a0c9403e9761c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Bergstr=C3=B6m?= Date: Tue, 10 Sep 2024 14:36:56 +0100 Subject: [PATCH] chore: change prefix for base url Use the main server url as base, then pass version through path. --- topsort-api-v2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/topsort-api-v2.yml b/topsort-api-v2.yml index edc755f..4c1755c 100644 --- a/topsort-api-v2.yml +++ b/topsort-api-v2.yml @@ -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 @@ -87,7 +87,7 @@ security: - BearerAuth: [] paths: - /auctions: + /v2/auctions: post: tags: - Auctions @@ -241,7 +241,7 @@ paths: $ref: '#/components/responses/BadRequest' 401: $ref: '#/components/responses/UnauthorizedError' - /events: + /v2/events: post: tags: - Events