Model
¶
Source code in docs_src/capo_api_gateway/types/model.py
name
instance-attribute
¶
name: NotRequired[String]
The name of the model. Must be an alphanumeric string.
schema
instance-attribute
¶
schema: NotRequired[String]
The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include "\*/" characters in the description of any properties because such "\*/" characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API's SDK generated by API Gateway to fail.