Home > @codemonger-io/cdk-rest-api-with-spec > RestApiWithSpecProps
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.
Properties for RestApiWithSpec.
Signature:
export interface RestApiWithSpecProps extends apigateway.RestApiProps Extends: apigateway.RestApiProps
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Partial<InfoObject> & Pick<InfoObject, 'version'> |
(BETA) Info object of the OpenAPI definition. | ||
|
string |
(BETA) Path to an output file where the OpenAPI definition is to be saved. |