Home > @codemonger-io/cdk-rest-api-with-spec > MethodOptionsWithSpec
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.
aws_apigateway.MethodOptions augmented with the properties necessary to build the OpenAPI definition.
Signature:
export interface MethodOptionsWithSpec extends apigateway.MethodOptions Extends: apigateway.MethodOptions
operationName corresponds to paths[path][method].operationId in the OpenAPI definition.
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(BETA) (Optional) Authorizer augmented with the OpenAPI definition. | |||
|
string |
(BETA) (Optional) Description of the method. | ||
|
(BETA) (Optional) Method responses augmented with properties necessary for the OpenAPI definition. | |||
|
{ [key: string]: BaseParameterObject; } |
(BETA) (Optional) Request parameters which maps parameter objects for the OpenAPI definition instead of boolean values. | ||
|
string |
(BETA) (Optional) Summary of the method. |