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
| Swagger UI is **publicly accessible by default**| When using `enable_swagger` method, you can [protect sensitive API endpoints by implementing a custom middleware](#customizing-swagger-ui) using your preferred authorization mechanism. |
530
-
|**No micro-functions support** yet | Swagger UI is enabled on a per resolver instance which will limit its accuracy here. |
531
-
| You need to expose a **new route**| You'll need to expose the following path to Lambda: `/swagger`; ignore if you're routing this path already. |
532
-
| JS and CSS files are **embedded within Swagger HTML**| If you are not using an external CDN to serve Swagger UI assets, we embed JS and CSS directly into the HTML. To enhance performance, please consider enabling the `compress` option to minimize the size of HTTP requests. |
| Swagger UI is **publicly accessible by default**| When using `enable_swagger` method, you can [protect sensitive API endpoints by implementing a custom middleware](#customizing-swagger-ui) using your preferred authorization mechanism. |
530
+
|**No micro-functions support** yet | Swagger UI is enabled on a per resolver instance which will limit its accuracy here. |
531
+
| You need to expose a **new route**| You'll need to expose the following path to Lambda: `/swagger`; ignore if you're routing this path already. |
532
+
| JS and CSS files are **embedded within Swagger HTML**| If you are not using an external CDN to serve Swagger UI assets, we embed JS and CSS directly into the HTML. To enhance performance, please consider enabling the `compress` option to minimize the size of HTTP requests. |
533
+
| Authorization data is **lost** on browser close/refresh | Use `enable_swagger(persist_authorization=True)` to persist authorization data, like OAuath 2.0 access tokens. |
0 commit comments