Api inline swagger with $ref to external file
Open
area/api-integration
maintainer/need-followup
type/feature
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 1.2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 52
Description
I want to use an additional external swagger file in my swagger.yaml file.
```
ServerlessApi:
Type: AWS::Serverless::Api
Properties:
DefinitionBody:
Fn::Transform:
Name: AWS::Include
Parameters:
Location: ../../api/swagger.yaml
```
```
paths:
/company:
$ref: ./routes/company/swagger.yaml
```
How can I do this using SAM?
SAM doesn't upload the additional file.
Contributor guide
Assessment
This issue has not been assessed yet.