API Gateway Property Updates and Improved Validation Coverage#749
API Gateway Property Updates and Improved Validation Coverage#749bmurtagh wants to merge 3 commits intocloudtools:mainfrom
Conversation
… handling optional AuthorizerUri property when Type property is set to TOKEN
… ensure it's set is in previous commit
|
@markpeek @phobologic i do have a question regarding the The documentation for Name states, "Required: Conditional. Required if you don't specify a OpenAPI definition." I assume this OpenAPI definition would be stored in the Required: No" The terminology differences between "OpenAPI specification" and "OpenAPI definition" are confusing me. I assume they're interchangeable, but I do not have any experience with API Gateway so I'm guessing. Hopefully one of you guys have come across this before & can clarify. |
|
The way I read it is, you can specify either Body or BodyS3Location to provide an OpenAPI spec which will then auto-name the API based on the title contents in the spec. (Using the API Gateway UI and playing with the Example API helps illustrate this). I'd say Name is required if neither of those are specified. It may also be possible (I haven't tested it) to use one of the Body/BodyS3Location and specify a Name. I would expect the Name property to take precedent but I don't know the answer to this question. |
|
Maybe this helps: if you create a rest api resource via the template and provide a name, that name will be overwritten once the AWS importer is done if the |
This should close #550 once merged