diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /test/json/swagger | |
parent | Initial commit. (diff) | |
download | liborcus-c484829272cd13a738e35412498e12f2c9a194ac.tar.xz liborcus-c484829272cd13a738e35412498e12f2c9a194ac.zip |
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/json/swagger')
-rw-r--r-- | test/json/swagger/check.txt | 546 | ||||
-rw-r--r-- | test/json/swagger/input.json | 226 | ||||
-rw-r--r-- | test/json/swagger/output.yaml | 155 |
3 files changed, 927 insertions, 0 deletions
diff --git a/test/json/swagger/check.txt b/test/json/swagger/check.txt new file mode 100644 index 0000000..30e14b3 --- /dev/null +++ b/test/json/swagger/check.txt @@ -0,0 +1,546 @@ +ns0="http://schemas.kohei.us/orcus/2015/json" +/ns0:object +/ns0:object/ns0:item +/ns0:object/ns0:item@name="swagger" +/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:string@value="2.0" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="info" +/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="version" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="1.0.0" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="title" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="Swagger Petstore (Simple)" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="termsOfService" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="http://helloreverb.com/terms/" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="contact" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="Swagger API team" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="email" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="foo@example.com" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="url" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="http://swagger.io" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="license" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="MIT" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="url" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="http://opensource.org/licenses/MIT" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="host" +/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:string@value="petstore.swagger.wordnik.com" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="basePath" +/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:string@value="/api" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="schemes" +/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="http" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="consumes" +/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/json" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="produces" +/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/json" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="paths" +/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="/pets" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="get" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="Returns all pets from the system that the user has access to" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="operationId" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="findPets" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="produces" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/json" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/xml" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="text/xml" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="text/html" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="parameters" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="tags" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="in" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="query" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="tags to filter by" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:false +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="array" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="items" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="collectionFormat" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="csv" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="limit" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="in" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="query" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="maximum number of results to return" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:false +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="int32" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="responses" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="200" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="pet response" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="array" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="items" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="default" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="unexpected error" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/errorModel" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="post" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="Creates a new pet in the store. Duplicates are allowed" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="operationId" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="addPet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="produces" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/json" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="parameters" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="in" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="body" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="Pet to add to the store" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:true +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/newPet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="responses" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="200" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="pet response" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="default" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="unexpected error" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/errorModel" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="/pets/{id}" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="get" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="Returns a user based on a single ID, if the user does not have access to the pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="operationId" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="findPetById" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="produces" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/json" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="application/xml" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="text/xml" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="text/html" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="parameters" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="id" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="in" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="path" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="ID of pet to fetch" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:true +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="int64" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="responses" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="200" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="pet response" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="default" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="unexpected error" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/errorModel" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="delete" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="deletes a single pet based on the ID supplied" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="operationId" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="deletePet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="parameters" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="id" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="in" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="path" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="ID of pet to delete" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:true +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:object/ns0:item/ns0:string@value="int64" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="responses" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="204" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="pet deleted" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="default" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="description" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="unexpected error" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="schema" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="$ref" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="#/definitions/errorModel" +/ns0:object/ns0:item +/ns0:object/ns0:item@name="definitions" +/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="pet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="id" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="properties" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="id" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="int64" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="tag" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="newPet" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="properties" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="id" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="int64" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="name" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="tag" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" +/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item@name="errorModel" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="required" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="code" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:array/ns0:item/ns0:string@value="message" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="properties" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="code" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="integer" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="format" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="int32" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="message" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item@name="type" +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string +/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:object/ns0:item/ns0:string@value="string" diff --git a/test/json/swagger/input.json b/test/json/swagger/input.json new file mode 100644 index 0000000..5e57330 --- /dev/null +++ b/test/json/swagger/input.json @@ -0,0 +1,226 @@ +{ + "swagger": "2.0", + "info": { + "version": "1.0.0", + "title": "Swagger Petstore (Simple)", + "description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification", + "termsOfService": "http://helloreverb.com/terms/", + "contact": { + "name": "Swagger API team", + "email": "foo@example.com", + "url": "http://swagger.io" + }, + "license": { + "name": "MIT", + "url": "http://opensource.org/licenses/MIT" + } + }, + "host": "petstore.swagger.wordnik.com", + "basePath": "/api", + "schemes": [ + "http" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/pets": { + "get": { + "description": "Returns all pets from the system that the user has access to", + "operationId": "findPets", + "produces": [ + "application/json", + "application/xml", + "text/xml", + "text/html" + ], + "parameters": [ + { + "name": "tags", + "in": "query", + "description": "tags to filter by", + "required": false, + "type": "array", + "items": { + "type": "string" + }, + "collectionFormat": "csv" + }, + { + "name": "limit", + "in": "query", + "description": "maximum number of results to return", + "required": false, + "type": "integer", + "format": "int32" + } + ], + "responses": { + "200": { + "description": "pet response", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/pet" + } + } + }, + "default": { + "description": "unexpected error", + "schema": { + "$ref": "#/definitions/errorModel" + } + } + } + }, + "post": { + "description": "Creates a new pet in the store. Duplicates are allowed", + "operationId": "addPet", + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "pet", + "in": "body", + "description": "Pet to add to the store", + "required": true, + "schema": { + "$ref": "#/definitions/newPet" + } + } + ], + "responses": { + "200": { + "description": "pet response", + "schema": { + "$ref": "#/definitions/pet" + } + }, + "default": { + "description": "unexpected error", + "schema": { + "$ref": "#/definitions/errorModel" + } + } + } + } + }, + "/pets/{id}": { + "get": { + "description": "Returns a user based on a single ID, if the user does not have access to the pet", + "operationId": "findPetById", + "produces": [ + "application/json", + "application/xml", + "text/xml", + "text/html" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of pet to fetch", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "200": { + "description": "pet response", + "schema": { + "$ref": "#/definitions/pet" + } + }, + "default": { + "description": "unexpected error", + "schema": { + "$ref": "#/definitions/errorModel" + } + } + } + }, + "delete": { + "description": "deletes a single pet based on the ID supplied", + "operationId": "deletePet", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "ID of pet to delete", + "required": true, + "type": "integer", + "format": "int64" + } + ], + "responses": { + "204": { + "description": "pet deleted" + }, + "default": { + "description": "unexpected error", + "schema": { + "$ref": "#/definitions/errorModel" + } + } + } + } + } + }, + "definitions": { + "pet": { + "required": [ + "id", + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "newPet": { + "required": [ + "name" + ], + "properties": { + "id": { + "type": "integer", + "format": "int64" + }, + "name": { + "type": "string" + }, + "tag": { + "type": "string" + } + } + }, + "errorModel": { + "required": [ + "code", + "message" + ], + "properties": { + "code": { + "type": "integer", + "format": "int32" + }, + "message": { + "type": "string" + } + } + } + } +} diff --git a/test/json/swagger/output.yaml b/test/json/swagger/output.yaml new file mode 100644 index 0000000..349e7a1 --- /dev/null +++ b/test/json/swagger/output.yaml @@ -0,0 +1,155 @@ +--- +swagger: 2.0 +info: + version: 1.0.0 + title: Swagger Petstore (Simple) + description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification + termsOfService: http://helloreverb.com/terms/ + contact: + name: Swagger API team + email: foo@example.com + url: http://swagger.io + license: + name: MIT + url: http://opensource.org/licenses/MIT +host: petstore.swagger.wordnik.com +basePath: /api +schemes: + - http +consumes: + - application/json +produces: + - application/json +paths: + /pets: + get: + description: Returns all pets from the system that the user has access to + operationId: findPets + produces: + - application/json + - application/xml + - text/xml + - text/html + parameters: + - name: tags + in: query + description: tags to filter by + required: false + type: array + items: + type: string + collectionFormat: csv + - name: limit + in: query + description: maximum number of results to return + required: false + type: integer + format: int32 + responses: + 200: + description: pet response + schema: + type: array + items: + $ref: "#/definitions/pet" + default: + description: unexpected error + schema: + $ref: "#/definitions/errorModel" + post: + description: Creates a new pet in the store. Duplicates are allowed + operationId: addPet + produces: + - application/json + parameters: + - name: pet + in: body + description: Pet to add to the store + required: true + schema: + $ref: "#/definitions/newPet" + responses: + 200: + description: pet response + schema: + $ref: "#/definitions/pet" + default: + description: unexpected error + schema: + $ref: "#/definitions/errorModel" + /pets/{id}: + get: + description: Returns a user based on a single ID, if the user does not have access to the pet + operationId: findPetById + produces: + - application/json + - application/xml + - text/xml + - text/html + parameters: + - name: id + in: path + description: ID of pet to fetch + required: true + type: integer + format: int64 + responses: + 200: + description: pet response + schema: + $ref: "#/definitions/pet" + default: + description: unexpected error + schema: + $ref: "#/definitions/errorModel" + delete: + description: deletes a single pet based on the ID supplied + operationId: deletePet + parameters: + - name: id + in: path + description: ID of pet to delete + required: true + type: integer + format: int64 + responses: + 204: + description: pet deleted + default: + description: unexpected error + schema: + $ref: "#/definitions/errorModel" +definitions: + pet: + required: + - id + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + newPet: + required: + - name + properties: + id: + type: integer + format: int64 + name: + type: string + tag: + type: string + errorModel: + required: + - code + - message + properties: + code: + type: integer + format: int32 + message: + type: string |