{
    "swagger": "2.0",
    "info": {
        "version": "0.0.0",
        "title": "api",
        "x-aws-apigateway": {
            "default-role": "APIGatewayLambdaExecRole",
            "default-request-params": {
                "header": [
                    "Host",
                    "Connection",
                    "User-Agent",
                    "Accept",
                    "Referer",
                    "Accept-Encoding",
                    "Accept-Language",
                    "Pragma"
                ]
            }
        }
    },
    "paths": {
        "/hello": {
            "get": {
                "x-aws-apigateway": {
                    "request-params": {
                        "header": ["X-Test2"],
                        "querystring": ["name"]
                    }
                },
                "parameters": [
                    {
                        "name": "count",
                        "in": "query",
                        "description": "Count of how many times you've written 'hello, world'",
                        "required": true,
                        "type": "integer"
                    }
                ],
                "description": "Prints \"Hello, world\"\n",
                "responses": {
                    "200": {
                        "description": "Successful response",
                        "headers": {
                            "X-TEST": {
                                "description": "just a test",
                                "type": "string"
                            }
                        },
                        "schema": {
                            "title": "Response",
                            "type": "object",
                            "properties": {
                                "hello": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    }
                }
            }
        }
    }
}
