---
swagger: "2.0"
info:
  version: "2016-04-30T12:00:00Z"
  title: "Let's Encrypt"
schemes:
- "https"
paths:
  /.well-known/acme-challenge/{key}:
    get:
      consumes:
      - "application/json"
      produces:
      - "text/plain"
      parameters:
      - name: "key"
        in: "path"
        required: true
        type: "string"
      responses:
        200:
          description: "200 response"
          schema:
            $ref: "#/definitions/Empty"
      x-amazon-apigateway-integration:
        responses:
          default:
            statusCode: "200"
            responseTemplates:
              text/plain: "#if($stageVariables.acme.startsWith($input.params('key')))$stageVariables.acme#end\n"
        requestTemplates:
          application/json: "{\"statusCode\": 200}"
        type: "mock"
definitions:
  Empty:
    type: "object"