-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <fabian.hernandez@hulihealth.com>
- Loading branch information
1 parent
8ce214f
commit ada3454
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
category: documentation | ||
--- | ||
|
||
# AWS | ||
|
||
## Import swagger documentation into AWS API Gateway | ||
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). | ||
Here are some tips to consider when importing the documentation: | ||
|
||
1. Remove any circular dependencies (these aren't supported by the parser). | ||
2. Remove security-related annotations (These annotations aren't well supported by the parser). | ||
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. | ||
4. API gateway errors aren't great, but you can use this [page](https://apidevtools.org/swagger-parser/online/) for structure validation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters