This repository was archived by the owner on Mar 4, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: creation of a petstore-simple alternative with no
tags
- Loading branch information
Showing
2 changed files
with
95 additions
and
0 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"info": { | ||
"version": "1.0.0", | ||
"title": "Petstore simple w/o tags", | ||
"description": "This ia variant of `petstore-simple` except that there are no `tags` configured." | ||
}, | ||
"servers": [ | ||
{ | ||
"url": "https://httpbin.org" | ||
} | ||
], | ||
"paths": { | ||
"/pet/{id}": { | ||
"parameters": [ | ||
{ | ||
"name": "id", | ||
"in": "path", | ||
"required": true, | ||
"schema": { | ||
"type": "integer" | ||
} | ||
} | ||
], | ||
"put": { | ||
"summary": "Update a pet", | ||
"description": "This operation will update a pet in the database.", | ||
"responses": { | ||
"400": { | ||
"description": "Invalid id value" | ||
} | ||
}, | ||
"security": [ | ||
{ | ||
"apiKey": [] | ||
} | ||
] | ||
}, | ||
"get": { | ||
"summary": "Find a pet", | ||
"description": "This operation will find a pet in the database.", | ||
"responses": { | ||
"400": { | ||
"description": "Invalid status value" | ||
} | ||
}, | ||
"security": [] | ||
} | ||
} | ||
}, | ||
"components": { | ||
"securitySchemes": { | ||
"apiKey": { | ||
"type": "http", | ||
"scheme": "basic" | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
openapi: 3.0.0 | ||
info: | ||
version: 1.0.0 | ||
title: Petstore simple w/o tags | ||
description: This ia variant of `petstore-simple` except that there are no `tags` | ||
configured. | ||
servers: | ||
- url: https://httpbin.org | ||
paths: | ||
'/pet/{id}': | ||
parameters: | ||
- name: id | ||
in: path | ||
required: true | ||
schema: | ||
type: integer | ||
put: | ||
summary: Update a pet | ||
description: This operation will update a pet in the database. | ||
responses: | ||
'400': | ||
description: Invalid id value | ||
security: | ||
- apiKey: [] | ||
get: | ||
summary: Find a pet | ||
description: This operation will find a pet in the database. | ||
responses: | ||
'400': | ||
description: Invalid status value | ||
security: [] | ||
components: | ||
securitySchemes: | ||
apiKey: | ||
type: http | ||
scheme: basic |