Created
May 26, 2015 20:45
-
-
Save jtmarmon/b9d43ea96f65f80dbff8 to your computer and use it in GitHub Desktop.
broken swagger ui
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
{ | |
"paths": { | |
"/hello": { | |
"get": { | |
"responses": { | |
"200": { | |
"schema": { | |
"$ref": "#/definitions/Message" | |
}, | |
"description": "" | |
} | |
}, | |
"parameters": [ | |
{ | |
"type": "string", | |
"required": true, | |
"description": "", | |
"in": "query", | |
"name": "name" | |
} | |
], | |
"summary": "say hello", | |
"tags": [ | |
"hello" | |
] | |
} | |
} | |
}, | |
"produces": [ | |
"application/json", | |
"application/x-yaml", | |
"application/edn", | |
"application/transit+json", | |
"application/transit+msgpack" | |
], | |
"tags": [ | |
{ | |
"description": "says hello in Finnish", | |
"name": "hello" | |
} | |
], | |
"swagger": "2.0", | |
"definitions": { | |
"Message": { | |
"type": "object", | |
"properties": { | |
"message": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"message" | |
] | |
} | |
}, | |
"consumes": [ | |
"application/json", | |
"application/x-yaml", | |
"application/edn", | |
"application/transit+json", | |
"application/transit+msgpack" | |
], | |
"basePath": "/", | |
"info": { | |
"description": "Compojure Api example", | |
"title": "Testapp", | |
"version": "0.0.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment