{ "swagger": "2.0", "info": { "title": "dealer", "version": "1.0" }, "schemes": "http", "host": "127.0.0.1:5000", "basePath": "/dealer", "consumes": "application/json", "produces": "application/json", "paths": { "/hands": { "get": { "parameters": [ {"name": "cards", "in": "query", "description": "number of cards in each hand", "type": "array", "items": {"type": "integer"}, "collectionFormat": "multi", "default": [13, 13, 13, 13] } ], "responses": { "200": { "description": "one hand of cards for each `hand` value in the query string" } } } }, "/hand": { "get": { "parameters": [ {"name": "cards", "in": "query", "type": "integer", "default": 5} ], "responses": { "200": { "description": "One hand of cards with a size given by the `hand` value in the query string" } } } } } }