An example of deep merging TSOA with API gateway
- TSOA enables generating route annotations from decorators.
- API gateway supports return a base schema.
The two schemas are merged after deploy to create a single shared schema.
# Deploy the API
yarn deploy --outputs-file ./utils/api-id.json
# Get docs from APIGateway; deep-merge local docs
yarn spec