Skip to content

Commit 775ff26

Browse files
committed
Enhance docs
1 parent b3023c4 commit 775ff26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ related objects, `x-no-relation` (type: boolean, default: false) is used.
323323
$ref: "#/components/schemas/Comment"
324324
```
325325

326-
This will not generate 'comments' column in database migrations. But it will generate `getComments()` relation in model.
326+
This will not generate 'comments' column in database migrations. But it will generate `getComments()` relation in Yii model file.
327327

328328
In order to make it real database column, extension `x-no-relation` can be used.
329329

@@ -348,7 +348,7 @@ Now if the Comment schema from the above example is
348348
type: string
349349
```
350350

351-
then the value can be
351+
then the value for `comments` can be
352352

353353
```json
354354
[
@@ -363,7 +363,7 @@ then the value can be
363363
]
364364
```
365365

366-
At this moment, `x-no-relation` can be only used with OpenAPI schema data type `array`.
366+
`x-no-relation` can be only used with OpenAPI schema data type `array`.
367367

368368
## Many-to-Many relation definition
369369

0 commit comments

Comments
 (0)