Created
September 25, 2015 14:24
-
-
Save oliyh/848f6aa7526643978233 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":{"title":"Swagger API","version":"0.0.1"},"produces":["application/json"],"consumes":["application/json"], | |
"paths":{"/ab":{"get":{"parameters":[{"in":"body","name":"SchemaB","description":"","required":true,"schema":{"$ref":"#/definitions/SchemaA"}}]," | |
responses":{"default":{"description":""}}}}, | |
"/cb":{"get":{"parameters":[{"in":"body","name":"SchemaB","description":"","required":true,"schema":{"$ref":"#/definitions/SchemaC"}}], | |
"responses":{"default":{"description":""}}}}}, | |
"definitions":{"SchemaA":{"type":"object","properties":{"a":{"type":"string"}},"required":["a"]}, | |
"SchemaB":{"type":"object","properties":{"b":{"type":"string"}},"required":["b"]}, | |
"SchemaC":{"type":"object","properties":{"c":{"type":"string"}},"required":["c"]}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment