API Gateway Response Models are Not Exported in Open API Documentation

0

I have an API in API Gateway that has Models defined for one of the REST responses. I am trying to export the the OPEN API document for this API but the cli command is not exporting these models (I have redacted the rest-api-id to protect the innocent :)

aws apigateway get-export --parameters extensions='apigateway' --accepts application/yaml --rest-api-id .......... --stage dev --export-type swagger openapi.yml

I have also tried:

aws apigateway get-export --parameters extensions='apigateway' --accepts application/yaml --rest-api-id .......... --stage dev --export-type oas30 openapi.yml

Both of these commands generated an openapi.yml file but neither one includes the Model as defined in the AWS console.

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ