Skip to content

Instantly share code, notes, and snippets.

@fehguy
Last active January 6, 2016 00:33
Show Gist options
  • Save fehguy/4d0850dcfb86a360bc47 to your computer and use it in GitHub Desktop.
Save fehguy/4d0850dcfb86a360bc47 to your computer and use it in GitHub Desktop.
invalid-spec
{
"swagger": "2.0",
"info": {
"description": "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters",
"title": "Swagger Petstore",
"termsOfService": "http://swagger.io/terms/",
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"host": "petstore.swagger.io",
"basePath": "/v2",
"schemes":"http",
"tags": [
{
"name": "user",
"description": "Operations about user"
},
{
"name": "store",
"description": "Access to Petstore orders",
"externalDocs": {
"description": "Find out more",
"url": "http://swagger.io"
}
},
{
"name": "pet",
"description": "Everything about your Pets",
"externalDocs": {
"description": "Find out more",
"url": "http://swagger.io"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment