Skip to content

Instantly share code, notes, and snippets.

View biggates's full-sized avatar

Xiaoyu Guo biggates

View GitHub Profile
@biggates
biggates / petstore_oas3_requestBody_example.json
Last active February 2, 2023 23:33
Example of OpenAPI Specification v3.0.0, containing multiple examples of requestBody
{
"openapi": "3.0.2",
"info": {
"description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",
"version": "1.0.0",
"title": "Swagger Petstore",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"email": "apiteam@swagger.io"
},