You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/swagger.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -204,3 +204,12 @@ swagger_ui:
204
204
```
205
205
206
206
Change `/docs` to your desired URI you wish Swagger to be accessible on.
207
+
208
+
### Enable Swagger doc for API Gateway
209
+
210
+
[AWS API Gateway](https://aws.amazon.com/api-gateway/) supports Swagger 2.0 partially, but it [requires some changes](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-known-issues.html).
211
+
Fortunately, API Platform provides a way to be compatible with both Swagger 2.0 & API Gateway.
212
+
213
+
To enable API Gateway compatibility on your Swagger doc, add `api_gateway=true` query parameter:
0 commit comments