Skip to content

Commit a9839e3

Browse files
committed
docs: fix prettier formatting in openapi.md
1 parent 7b2f887 commit a9839e3

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎core/openapi.md‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -900,11 +900,10 @@ To enable API Gateway compatibility on your OpenAPI docs, add `api_gateway=true`
900900
`http://www.example.com/docs.jsonopenapi?api_gateway=true`. The flag `--api-gateway` is also
901901
available through the command-line.
902902

903-
The compatibility layer removes every query parameter whose name does not match
904-
`^[a-zA-Z0-9._$-]+$` from the generated specification. Bracketed filter parameters such as
905-
`order[title]` or `exists[author]` are dropped, not renamed. To keep a filter usable behind API
906-
Gateway, declare it with a [`QueryParameter`](filters.md#declaring-parameters) and a bracket-free
907-
key:
903+
The compatibility layer removes every query parameter whose name does not match `^[a-zA-Z0-9._$-]+$`
904+
from the generated specification. Bracketed filter parameters such as `order[title]` or
905+
`exists[author]` are dropped, not renamed. To keep a filter usable behind API Gateway, declare it
906+
with a [`QueryParameter`](filters.md#declaring-parameters) and a bracket-free key:
908907

909908
```php
910909
use ApiPlatform\Doctrine\Orm\Filter\SortFilter;

0 commit comments

Comments
 (0)