View OpenAPI spec for API in API Platform
31 May 2022 (Updated 6 May 2024)
View spec in default version
By default, your OpenAPI document should be at /api/docs.jsonopenapi
. But you can confirm by running:
You can configure the route in config/routes/api_platform.yaml
.
View spec in different version
Set the version in the spec_version
query string. For example:
Related
Thanks for your comment . Once it's approved, it will appear here.
Leave a comment