From 3d6f0e1000bbee93cc648ce5354e6b2bb5bf0a87 Mon Sep 17 00:00:00 2001 From: Federico Cucinella <10742159+QcFe@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:10:44 +0200 Subject: [PATCH] Add getBuildings search params --- openapi.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index b207d66..4aa6787 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.3 info: title: Polito Students API - version: 2.0.0 + version: 2.0.1 servers: - url: https://app.didattica.polito.it/api description: Production server (uses live data) @@ -2364,6 +2364,13 @@ paths: operationId: getBuildings parameters: - $ref: '#/components/parameters/pathSiteId' + - name: search + in: query + description: Filter buildings containing 'search' in their name + schema: + type: string + - $ref: '#/components/parameters/queryPlaceCategoryId' + - $ref: '#/components/parameters/queryPlaceSubCategoryId' responses: 200: description: Success