-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from shapehq/simonbs-patch-1
Update openapi.yml
- Loading branch information
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,22 @@ openapi: "3.0.0" | |
info: | ||
version: 1.0.0 | ||
title: Swagger Petstore | ||
description: This is a sample server for a pet store. | ||
license: | ||
name: MIT | ||
contact: | ||
name: API Support | ||
url: https://example.com/support | ||
email: [email protected] | ||
servers: | ||
- url: http://petstore.swagger.io/v1 | ||
tags: | ||
- name: pets | ||
paths: | ||
/pets: | ||
get: | ||
summary: List all pets | ||
description: Retrieve a list of all the pets in the store. | ||
operationId: listPets | ||
tags: | ||
- pets | ||
|
@@ -42,6 +50,7 @@ paths: | |
$ref: "#/components/schemas/Error" | ||
post: | ||
summary: Create a pet | ||
description: Create a new pet. | ||
operationId: createPets | ||
tags: | ||
- pets | ||
|
@@ -57,6 +66,7 @@ paths: | |
/pets/{petId}: | ||
get: | ||
summary: Info for a specific pet | ||
description: Load the details of the specified pet. | ||
operationId: showPetById | ||
tags: | ||
- pets | ||
|