Skip to content

Instantly share code, notes, and snippets.

@Albertoimpl
Created June 6, 2022 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Albertoimpl/2133fdbd48ca3e377306cc834e7f63e2 to your computer and use it in GitHub Desktop.
Save Albertoimpl/2133fdbd48ca3e377306cc834e7f63e2 to your computer and use it in GitHub Desktop.
OpenAPI-test
[
{
"openapi": "3.0.1",
"info": {
"title": "agifyApis",
"description": "defaultDescription",
"version": "0.1"
},
"servers": [
{
"url": "https://api.agify.io"
}
],
"paths": {
"/": {
"get": {
"description": "Auto generated using Swagger Inspector",
"parameters": [
{
"name": "name",
"in": "query",
"schema": {
"type": "string"
},
"example": "kris"
}
],
"responses": {
"200": {
"description": "Auto generated using Swagger Inspector",
"content": {
"application/json; charset=utf-8": {
"schema": {
"type": "string"
},
"examples": {}
}
}
}
}
}
},
"/age": {
"get": {
"description": "another endpoint",
"parameters": [
{
"name": "name",
"in": "query",
"schema": {
"type": "string"
},
"example": "alberto"
}
],
"responses": {
"200": {
"description": "Auto generated using Swagger Inspector",
"content": {
"application/json; charset=utf-8": {
"schema": {
"type": "string"
},
"examples": {}
}
}
}
}
}
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment