{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-api-gateway/json-schema/aws-api-gateway-get-export-request-schema.json",
  "title": "GetExportRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-api-gateway-operations-api-openapi.yml#/components/schemas/GetExportRequest",
  "type": "object",
  "properties": {
    "restApiId": {
      "type": "string",
      "description": "The string identifier of the associated RestApi."
    },
    "stageName": {
      "type": "string",
      "description": "The name of the Stage that will be exported."
    },
    "exportType": {
      "type": "string",
      "description": "The type of export. Acceptable values are 'oas30' for OpenAPI 3.0.x and 'swagger' for Swagger/OpenAPI 2.0."
    },
    "parameters": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A key-value map of query string parameters that specify properties of the export, depending on the requested exportType. For exportType oas30 and swagger, any combination of the following parameters are supported: extensions='integrations' or extensions='apigateway' will export the API with x-amazon-apigateway-integration extensions. extensions='authorizers' will export the API with x-amazon-apigateway-authorizer extensions. postman will export the API with Postman extensions, allowing for import to the Postman tool"
    },
    "accepts": {
      "type": "string",
      "description": "The content-type of the export, for example application/json. Currently application/json and application/yaml are supported for exportType ofoas30 and swagger. This should be specified in the Accept header for direct API requests."
    }
  },
  "required": [
    "restApiId",
    "stageName",
    "exportType"
  ]
}