sam-goodwin / punchcard

Type-safe AWS infrastructure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redesign API gateway JSON schemas with mappings

sam-goodwin opened this issue · comments

commented

It doesn't make sense to include mappings in the request JSON schema, because they are not sent in the request body.

https://github.com/sam-goodwin/punchcard/blob/master/packages/punchcard/lib/api-gateway/resource.ts#L112