Skip to content

Commit f3e34ae

Browse files
committed
fix: use html for code selector
1 parent 9c55ff9 commit f3e34ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/pagination.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ resources:
9494
App\Entity\Book:
9595
paginationEnabled: false
9696
```
97-
[/codeSelector]
97+
</code-selector>
9898
9999
### Disabling the Pagination For a Specific Operation
100100
101101
You can also disable an operation for a specific operation:
102102
103-
[codeSelector]
103+
<code-selector>
104104
105105
```php
106106
<?php

core/serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ For ORM, it also supports [composite identifiers](https://www.doctrine-project.o
10751075
If you are not using the Doctrine ORM or MongoDB ODM Provider, you must explicitly mark the identifier using the `identifier` attribute of
10761076
the `ApiPlatform\Metadata\ApiProperty` annotation. For example:
10771077

1078-
[codeSelector]
1078+
<code-selector>
10791079

10801080
```php
10811081
<?php
@@ -1127,7 +1127,7 @@ properties:
11271127
</properties>
11281128
```
11291129

1130-
[/codeSelector]
1130+
</code-selector>
11311131

11321132
In some cases, you will want to set the identifier of a resource from the client (e.g. a client-side generated UUID, or a slug).
11331133
In such cases, you must make the identifier property a writable class property. Specifically, to use client-generated IDs, you

0 commit comments

Comments
 (0)