Created
November 10, 2012 03:37
-
-
Save danieleli/4049749 to your computer and use it in GitHub Desktop.
Swagger models
This file contains hidden or 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
"models":{ | |
"Category":{ | |
"id":"Category", | |
"properties":{ | |
"id":{ | |
"type":"long" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
}, | |
"Pet":{ | |
"id":"Pet", | |
"properties":{ | |
"tags":{ | |
"items":{ | |
"$ref":"Tag" | |
}, | |
"type":"Array" | |
}, | |
"id":{ | |
"type":"long" | |
}, | |
"category":{ | |
"type":"Category" | |
}, | |
"status":{ | |
"allowableValues":{ | |
"valueType":"LIST", | |
"values":[ | |
"available", | |
"pending", | |
"sold" | |
], | |
"valueType":"LIST" | |
}, | |
"description":"pet status in the store", | |
"type":"string" | |
}, | |
"name":{ | |
"type":"string" | |
}, | |
"photoUrls":{ | |
"items":{ | |
"type":"string" | |
}, | |
"type":"Array" | |
} | |
} | |
}, | |
"Tag":{ | |
"id":"Tag", | |
"properties":{ | |
"id":{ | |
"type":"long" | |
}, | |
"name":{ | |
"type":"string" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment