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/openapi.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -436,7 +436,9 @@ Change `/docs` to the URI you wish Swagger to be accessible on.
436
436
437
437
## Using a custom Asset Package in Swagger UI
438
438
439
-
Sometimes you may want to use a different [Asset Package](https://symfony.com/doc/current/reference/configuration/framework.html#packages) for the Swagger UI. In this way you'll have more fine-grained control over the asset url generations. This is useful i.e. if you want to use different base path, base url or asset versioning strategy.
439
+
Sometimes you may want to use a different [Asset Package](https://symfony.com/doc/current/reference/configuration/framework.html#packages) for the Swagger UI.
440
+
In this way you'll have more fine-grained control over the asset URL generations.
441
+
This is useful i.e. if you want to use different base path, base URL or asset versioning strategy.
440
442
441
443
Specify a custom asset package name:
442
444
@@ -482,7 +484,7 @@ You may want to copy the [one shipped with API Platform](https://github.com/api-
482
484
API Platform provides a way to be compatible with Amazon API Gateway.
483
485
484
486
To enable API Gateway compatibility on your OpenAPI docs, add `api_gateway=true` as query parameter: `http://www.example.com/docs.json?api_gateway=true`.
485
-
The flag `--api-gateway` is also available through the commandline.
487
+
The flag `--api-gateway` is also available through the command-line.
0 commit comments