Skip to content

Commit a999c62

Browse files
authored
Update openapi.md properties issue (#1953)
There is a trailing `attributes` in the documentation. `openapiContext` should comes directly inside class attributes.
1 parent 71c5820 commit a999c62

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

core/openapi.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,14 @@ class Product // The class name will be used to name exposed resources
166166
properties:
167167
App\Entity\Product:
168168
name:
169-
attributes:
170-
openapiContext:
171-
type: string
172-
enum: ['one', 'two']
173-
example: one
169+
openapiContext:
170+
type: string
171+
enum: ['one', 'two']
172+
example: one
174173
timestamp:
175-
attributes:
176-
openapiContext:
177-
type: string
178-
format: date-time
174+
openapiContext:
175+
type: string
176+
format: date-time
179177
```
180178
181179
```xml

0 commit comments

Comments
 (0)