Created
August 6, 2015 14:31
-
-
Save JanDintel/3146b58fcf19b0e2dd77 to your computer and use it in GitHub Desktop.
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
{"swagger":"2.0","info":{"version":"v0","title":"Test application","description":"Documents the V0 API of the Test application.","contact":{"name":"Jan"},"license":{"name":"MIT"}},"host":"localhost:3000","basePath":"/api/v0","consumes":["application/json"],"produces":["application/json"],"paths":{"/profiles":{"get":{"description":"Finds all Profiles","operationId":"findPets","responses":{"200":{"description":"Profiles response","schema":{"type":"array","items":{"$ref":"#/definitions/Profile"}}}}}},"/profiles/{id}":{"get":{"description":"Finds a Profile","operationId":"findPetById","parameters":[{"name":"id","in":"path","description":"Pseudonym of the Profile","required":true,"type":"string"}],"responses":{"200":{"description":"Profile response","schema":{"$ref":"#/definitions/Profile"}}}}}},"definitions":{"Profile":{"required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string"}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment