autohandle
autohandle
  
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...