Skip to content

Commit

Permalink
Document spec-version option usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Minetorpia authored and dunglas committed Sep 28, 2024
1 parent 8c9542a commit ac139e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/openapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ docker compose exec php \
bin/console api:swagger:export
```

It is also possible to use OpenAPI v3.0.0 format:

```console
docker compose exec php \
bin/console api:openapi:export --spec-version=3.0.0
```

## Overriding the OpenAPI Specification

Symfony allows to [decorate services](https://symfony.com/doc/current/service_container/service_decoration.html), here we
Expand Down

0 comments on commit ac139e3

Please sign in to comment.