autohandle

Results comments of autohandle

![image](https://user-images.githubusercontent.com/6686041/130287312-44832057-f5f6-4c34-bfa6-9566e9b384d8.png) ![image](https://user-images.githubusercontent.com/6686041/130287341-c357a135-af15-431b-acca-dcc9a31c7f2a.png) ![image](https://user-images.githubusercontent.com/6686041/130287354-7132978f-8d97-4102-b1cc-48f98238e80c.png)

ok, i got it ``` TheApiGateway: Type: 'AWS::Serverless::Api' Properties: StageName: Prod Auth: # DefaultAuthorizer: CustomAuthorizer Authorizers: CustomAuthorizer: FunctionArn: !GetAtt AuthFunction.Arn DefinitionBody: Fn::Transform: Name: AWS::Include Parameters: Location: openapi.yaml ``` the “Authorizers:”...

so, that still leaves me with one question: why does **DefaultAuthorizer** seem to override everything?

and is there some clever way to copy the name that needs to be repeated from the sam template into the openapi spec?

ok, so i think i figured out the **DefaultAuthorizer**. if it is used in the template for the api gateway: ``` TheApiGateway: Type: 'AWS::Serverless::Api' Properties: StageName: Prod Auth: DefaultAuthorizer: CustomAuthorizer...

so, i still have a problem, https://editor.swagger.io/ gives this openapi a syntax error: ``` /noauth: get: security: - NONE: [ ] ``` but, it likes this syntax: ``` /noauth: get:...

hmmm — so, this should be a bug, instead of a question? if so, any idea how to change the label?

i'm using the pycharm awstoolkit, but here is a partial run where i copied the toolkit command over, added debug, and ran it: (base) MacBookPro2018:read david$ **/usr/local/homebrew/bin/sam build** ReadByIdFunction --debug...

@qingchm is this true (unsupported in package type Image) for layers, as well (AWS::Serverless::LayerVersion)?

i'm too dumb about ruby to answer that question. i did use rvm to install ruby as the administrator for my laptop by following: http://rvm.io/rvm/install i run vagrant as a...