v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14120262383.5 KB

Changes information about a model.

patch/restapis/{restapi_id}/models/{model_name}

Path parameters

restapi_idstring required

The string identifier of the associated RestApi.

model_namestring required

The name of the model to update.

Request body

Response

Success

idstring

The identifier for the model resource.

namestring

The name of the model. Must be an alphanumeric string.

descriptionstring

The description of the model.

schemastring

The schema for the model. For <code>application/json</code> 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.

contentTypestring

The content-type for the model.