Method: Aws::APIGateway::Types::CreateModelRequest#schema

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

#schemaString

The schema for the model. For ‘application/json` models, this should be [JSON-schema draft v4] model.

[1]: json-schema.org/documentation.html

Returns:

  • (String)

1051
1052
1053
1054
1055
1056
1057
1058
# File 'lib/aws-sdk-apigateway/types.rb', line 1051

class CreateModelRequest < Struct.new(
  :rest_api_id,
  :name,
  :description,
  :schema,
  :content_type)
  include Aws::Structure
end