Skip to content

Commit ada3454

Browse files
Fabian Hernandezjohanbrandhorst
authored andcommitted
868 improving README with AWS API gateway findings (#869)
* 868 improving README with AWS API gateway findings * 868 adding review feedback * 868 fixing typos related to aws documentation tips * Update docs/_docs/aws.md Co-Authored-By: fahernandez <[email protected]>
1 parent 8ce214f commit ada3454

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docs/_docs/aws.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
category: documentation
3+
---
4+
5+
# AWS
6+
7+
## Import swagger documentation into AWS API Gateway
8+
The AWS API gateway service allows importing of an OpenAPI specification to create a REST API. The process is very straightforward and can be found [here](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-import-api.html).
9+
Here are some tips to consider when importing the documentation:
10+
11+
1. Remove any circular dependencies (these aren't supported by the parser).
12+
2. Remove security-related annotations (These annotations aren't well supported by the parser).
13+
3. Max length of fields are reviewed by the parser but the errors aren't self-explanatory. Review the [specification](https://swagger.io/specification/v2/) to verify that the requirements are met.
14+
4. API gateway errors aren't great, but you can use this [page](https://apidevtools.org/swagger-parser/online/) for structure validation.

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ To learn more about us check out our documentation on:
1717
* [Installation and usage](_docs/usage.md)
1818
* [Examples](_docs/examples.md)
1919
* [Features](_docs/features.md)
20+
* [AWS API Gateway tips](_docs/aws.md)
2021

2122

2223
# Contribution

0 commit comments

Comments
 (0)