{"paths": {"/character": {"get": {"responses": {"200": {"schema": {"$ref": "#/definitions/ListCharacterResponse"}, "description": null}}, "parameters": [{"in": "query", "name": "name", "required": false, "type": "string"}, {"in": "query", "name": "page", "required": false, "type": "integer", "format": "int32"}, {"in": "query", "name": "status", "required": false, "type": "string", "enum": ["alive", "dead", "unknown"]}, {"in": "query", "name": "type", "required": false, "type": "string"}, {"in": "query", "name": "gender", "required": false, "type": "string", "enum": ["female", "male", "genderless", "unknown"]}, {"in": "query", "name": "species", "required": false, "type": "string"}], "tags": ["character"], "summary": "View character list", "produces": ["application/json"]}}, "/character/{id}": {"get": {"responses": {"200": {"schema": {"$ref": "#/definitions/Character"}, "description": null}}, "parameters": [{"in": "path", "name": "id", "required": true, "type": "string"}], "tags": ["character"], "summary": "Get character", "produces": ["application/json"]}}, "/episode": {"get": {"responses": {"200": {"schema": {"$ref": "#/definitions/ListEpisodeResponse"}, "description": null}}, "parameters": [{"in": "query", "name": "page", "required": false, "type": "integer", "format": "int32"}, {"in": "query", "name": "episode", "required": false, "type": "string"}, {"in": "query", "name": "name", "required": false, "type": "string"}], "tags": ["episode"], "summary": "View episode list", "produces": ["application/json"]}}, "/episode/{id}": {"get": {"responses": {"200": {"schema": {"$ref": "#/definitions/Episode"}, "description": null}}, "parameters": [{"in": "path", "name": "id", "required": true, "type": "string"}], "tags": ["episode"], "summary": "Get episode", "produces": ["application/json"]}}}, "info": {"title": "Documentation", "version": "0.0.1"}, "swagger": "2.0", "definitions": {"Pagination": {"type": "object", "properties": {"pages": {"type": "integer", "format": "int32"}, "next": {"type": "string"}, "prev": {"type": "string"}, "count": {"type": "integer", "format": "int32"}}}, "Origin": {"type": "object", "properties": {"url": {"type": "string"}, "name": {"type": "string"}}}, "Location": {"type": "object", "properties": {"url": {"type": "string"}, "name": {"type": "string"}}}, "Character": {"type": "object", "properties": {"name": {"type": "string"}, "origin": {"x-nullable": true, "allOf": [{"$ref": "#/definitions/Origin"}]}, "id": {"type": "integer", "format": "int32"}, "status": {"type": "string"}, "url": {"type": "string"}, "type": {"type": "string"}, "created": {"type": "string"}, "gender": {"type": "string"}, "image": {"type": "string"}, "episode": {"type": "array", "items": {"type": "string"}}, "species": {"type": "string"}, "location": {"x-nullable": true, "allOf": [{"$ref": "#/definitions/Location"}]}}}, "ListCharacterResponse": {"type": "object", "properties": {"info": {"$ref": "#/definitions/Pagination"}, "results": {"type": "array", "items": {"$ref": "#/definitions/Character"}}}}, "Episode": {"type": "object", "properties": {"characters": {"type": "array", "items": {"type": "string"}}, "air_date": {"type": "string"}, "name": {"type": "string"}, "id": {"type": "integer", "format": "int32"}, "created": {"type": "string"}, "episode": {"type": "string"}, "url": {"type": "string"}}}, "ListEpisodeResponse": {"type": "object", "properties": {"info": {"$ref": "#/definitions/Pagination"}, "results": {"type": "array", "items": {"$ref": "#/definitions/Episode"}}}}}}