Model
¶
Source code in docs_src/capo_apigatewayv2/types/model.py
content_type
instance-attribute
¶
content_type: NotRequired[StringWithLengthBetween1And256]
The content-type for the model, for example, "application/json".
description
instance-attribute
¶
description: NotRequired[StringWithLengthBetween0And1024]
The description of the model.
name
instance-attribute
¶
name: NotRequired[StringWithLengthBetween1And128]
The name of the model. Must be alphanumeric.
schema
instance-attribute
¶
schema: NotRequired[StringWithLengthBetween0And32K]
The schema for the model. For application/json models, this should be JSON schema draft 4 model.