Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fixes to openapi spec #114

Merged
merged 2 commits into from
Mar 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions src/main/resources/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
url: http://www.apache.org/licenses/LICENSE-2.0
version: '1.0'
servers:
- url: http://localhost:8080/api
- url: http://localhost:9966/petclinic/api
tags:
- name: failing
description: Endpoint which always returns an error.
Expand All @@ -21,6 +21,10 @@ tags:
description: Endpoints related to vets.
- name: visit
description: Endpoints related to vet visits.
- name: pettypes
description: Endpoints related to pet types.
- name: specialty
description: Endpoints related to vet specialties.
paths:
/oops:
get:
Expand Down Expand Up @@ -1714,7 +1718,7 @@ paths:
$ref: '#/components/schemas/RestError'
delete:
tags:
- vets
arey marked this conversation as resolved.
Show resolved Hide resolved
- vet
operationId: deleteVet
summary: Delete a vet by ID
description: Returns the vet or a 404 error.
Expand Down Expand Up @@ -2187,7 +2191,7 @@ components:
type: string
maxLength: 80
minLength: 1
example: 1234
example: 1234abc
enabled:
title: enabled
description: Indicates if the user is enabled
Expand Down