Created
March 17, 2023 08:58
-
-
Save moomdate/cb121f9607b4810947092846a1429f8c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
title: OpenAPI definition | |
version: v0 | |
servers: | |
- url: http://localhost:8080/api | |
description: Generated server url | |
paths: | |
/update-location/{id}: | |
put: | |
tags: | |
- location-controller | |
operationId: save | |
parameters: | |
- name: id | |
in: path | |
required: true | |
style: simple | |
explode: false | |
schema: | |
type: integer | |
format: int64 | |
- name: building | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
- name: floor | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
- name: zone | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: object | |
/save-location: | |
post: | |
tags: | |
- location-controller | |
operationId: save_1 | |
parameters: | |
- name: building | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
- name: floor | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
- name: zone | |
in: query | |
required: false | |
style: form | |
explode: true | |
schema: | |
type: string | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: object | |
/location: | |
get: | |
tags: | |
- location-controller | |
operationId: findAll | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: object | |
/hello: | |
get: | |
tags: | |
- hello-controller | |
operationId: hello | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: string | |
/find-location/{keyword}: | |
get: | |
tags: | |
- location-controller | |
operationId: findByKeyword | |
parameters: | |
- name: keyword | |
in: path | |
required: true | |
style: simple | |
explode: false | |
schema: | |
type: string | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: object | |
/delete-location/{id}: | |
delete: | |
tags: | |
- location-controller | |
operationId: delete | |
parameters: | |
- name: id | |
in: path | |
required: true | |
style: simple | |
explode: false | |
schema: | |
type: string | |
responses: | |
"200": | |
description: OK | |
content: | |
'*/*': | |
schema: | |
type: object | |
components: | |
schemas: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment