From 67203381b9fe590eb090c4161ba0021b3ee2584f Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 13 Aug 2024 16:54:28 +0200 Subject: [PATCH] made sure that tags in the openapi definition are more sensible --- data/output/openapi.yaml | 15 ++++++++++----- webclient/app/api_types/index.ts | 1 - 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/data/output/openapi.yaml b/data/output/openapi.yaml index 4a971f008..e25dbe1dc 100644 --- a/data/output/openapi.yaml +++ b/data/output/openapi.yaml @@ -259,7 +259,7 @@ paths: '414': description: The uri you are trying to request is unreasonably long. Search querys dont have thousands of chars.. tags: - - core + - locations '/api/locations/{id}/nearby': get: operationId: nearby @@ -308,6 +308,8 @@ paths: application/json: schema: $ref: '#/components/schemas/NearbyLocationsResponse' + tags: + - locations '/api/locations/{id}': get: operationId: details @@ -754,7 +756,7 @@ paths: examples: - Not found tags: - - core + - locations /api/calendar: post: operationId: calendar @@ -766,7 +768,6 @@ paths: If successful, returns additional entries in the requested time span. requestBody: - description: null required: true content: application/json: @@ -2427,14 +2428,18 @@ components: lat: 48.2528223347355 lon: 11.5240016913201 tags: - - name: core - description: API to access/search for location information + - name: calendar + description: APIs to access calendar-data - name: cdn description: Images for some of the rooms - name: feedback description: APIs to give feedback - name: health description: endpoints used to check the health of our components + - name: locations + description: API to access/search for location information + - name: maps + description: APIs to access map-data externalDocs: description: Visit our Github Page for more in-depth documentation url: 'https://github.com/TUM-Dev/navigatum' diff --git a/webclient/app/api_types/index.ts b/webclient/app/api_types/index.ts index 5f0c24364..b5ce622cb 100644 --- a/webclient/app/api_types/index.ts +++ b/webclient/app/api_types/index.ts @@ -835,7 +835,6 @@ export type operations = { * If successful, returns additional entries in the requested time span. */ calendar: { - /** @description null */ readonly requestBody: { readonly content: { readonly "application/json": {