cloudtools / cloudtools/troposphere
How to write swagger body in RestApi ?
- Dominant language
- Python
- Stars
- 4.9k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to write swagger in RestApi, How should I write ymal file in a dict ? Is there any example doing this ?
```
class RestApi(AWSObject):
resource_type = "AWS::ApiGateway::RestApi"
props = {
"ApiKeySourceType": (basestring, False),
"BinaryMediaTypes": ([basestring], False),
"Body": (dict, False),
"BodyS3Location": (S3Location, False),
"CloneFrom": (basestring, False),
"Description": (basestring, False),
"EndpointConfiguration": (EndpointConfiguration, False),
"FailOnWarnings": (basestring, False),
"MinimumCompressionSize": (positive_integer, False),
"Name": (basestring, False),
"Parameters": ([basestring], False),
"Policy": (dict, False),
}
```
Contributor guide
Assessment
This issue has not been assessed yet.