Skip to content

Commit

Permalink
Merge pull request #114 from horiaconstantin-cpi/master
Browse files Browse the repository at this point in the history
small fixes to openapi spec
  • Loading branch information
arey authored Mar 17, 2023
2 parents 31505bb + 4ec693e commit 128d588
Showing 1 changed file with 7 additions and 3 deletions.
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
- 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

0 comments on commit 128d588

Please sign in to comment.