Skip to content

Instantly share code, notes, and snippets.

@Sean-Bradley
Created April 17, 2019 07:52
Show Gist options
  • Select an option

  • Save Sean-Bradley/1c012c0dc2b2a2556972a4c2314974bb to your computer and use it in GitHub Desktop.

Select an option

Save Sean-Bradley/1c012c0dc2b2a2556972a4c2314974bb to your computer and use it in GitHub Desktop.
...
"tags": [
{
"name": "Book Request",
"description": "Example API for requesting and return book requests"
}
],
"paths": {
"/request": {
"get": {
"tags": [
"Book Request"
],
"summary": "Returns bookRequests",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/components/schemas/bookRequests"
}
}
}
}
}
},
"components": {
"schemas": {
"id": {
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment