Skip to content

Commit ac139e3

Browse files
Minetorpiadunglas
authored andcommitted
Document spec-version option usage
1 parent 8c9542a commit ac139e3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/openapi.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ docker compose exec php \
4545
bin/console api:swagger:export
4646
```
4747

48+
It is also possible to use OpenAPI v3.0.0 format:
49+
50+
```console
51+
docker compose exec php \
52+
bin/console api:openapi:export --spec-version=3.0.0
53+
```
54+
4855
## Overriding the OpenAPI Specification
4956

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

0 commit comments

Comments
 (0)