Home > @codemonger-io/cdk-rest-api-with-spec > JsonSchemaEx
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Extended aws_apigateway.JsonSchema.
Signature:
export interface JsonSchemaEx extends apigateway.JsonSchema Extends: apigateway.JsonSchema
Introduces the following new properties,
- example: example value.
- modelRef: reference to another IModel.
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean | JsonSchemaEx |
(BETA) (Optional) Extension of additionalItems. | ||
|
boolean | JsonSchemaEx |
(BETA) (Optional) Extension of additionalProperties. | ||
|
(BETA) (Optional) Extension of allOf. | |||
|
(BETA) (Optional) Extension of anyOf. | |||
|
(BETA) (Optional) Extension of contains. | |||
|
{ [k: string]: JsonSchemaEx; } |
(BETA) (Optional) Extension of definitions. | ||
|
{ [k: string]: JsonSchemaEx | string[]; } |
(BETA) (Optional) Extension of dependencies. | ||
|
any |
(BETA) (Optional) Example value. | ||
|
(BETA) (Optional) Extension of items. | |||
|
apigateway.IModel |
(BETA) (Optional) Reference to another aws_apigateway.IModel. | ||
|
(BETA) (Optional) Extension of not. | |||
|
(BETA) (Optional) Extension of oneOf. | |||
|
{ [k: string]: JsonSchemaEx; } |
(BETA) (Optional) Extension of patternProperties. | ||
|
{ [k: string]: JsonSchemaEx; } |
(BETA) (Optional) Extension of properties. | ||
|
(BETA) (Optional) Extension of propertyNames. |