Skip to content

Commit 23be81e

Browse files
committed
feat: readonly and nullable property added
1 parent 1229af0 commit 23be81e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/model_docs/property.stub

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
* @OA\Property(
22
* property="$FIELD_NAME$",
33
* description="$DESCRIPTION$",
4+
* readOnly=$FIELD_READ_ONLY$,
5+
* nullable=$FIELD_NULLABLE$,
46
* type="$FIELD_TYPE$"$FIELD_FORMAT$
57
* )

0 commit comments

Comments
 (0)