Method: Aws::APIGateway::Types::GetExportRequest#accepts

Defined in:
lib/aws-sdk-apigateway/types.rb

#acceptsString

The content-type of the export, for example ‘application/json`. Currently `application/json` and `application/yaml` are supported for `exportType` of `swagger`. This should be specified in the `Accept` header for direct API requests.

Returns:

  • (String)

3248
3249
3250
3251
3252
3253
3254
3255
# File 'lib/aws-sdk-apigateway/types.rb', line 3248

class GetExportRequest < Struct.new(
  :rest_api_id,
  :stage_name,
  :export_type,
  :parameters,
  :accepts)
  include Aws::Structure
end