Skip to content

Commit 2a88599

Browse files
ruslangazizovfrantuma
authored andcommitted
Update Schema.java
1 parent dd028ca commit 2a88599

File tree

1 file changed

+2
-2
lines changed
  • modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media

1 file changed

+2
-2
lines changed

modules/swagger-annotations/src/main/java/io/swagger/v3/oas/annotations/media/Schema.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
boolean writeOnly() default false;
238238

239239
/**
240-
* Allows to specify the access mode (AccessMode.READ_ONLY, READ_WRITE)
240+
* Allows to specify the access mode (AccessMode.READ_ONLY, WRITE_ONLY, READ_WRITE)
241241
*
242242
* AccessMode.READ_ONLY: value will not be written to during a request but may be returned during a response.
243243
* AccessMode.WRITE_ONLY: value will only be written to during a request but not returned during a response.
@@ -246,7 +246,7 @@
246246
* @return the accessMode for this schema (property)
247247
*
248248
*/
249-
AccessMode accessMode() default AccessMode.AUTO;
249+
AccessMode accessMode() default AccessMode.AUTO;
250250

251251
/**
252252
* Provides an example of the schema. When associated with a specific media type, the example string shall be parsed by the consumer to be treated as an object or an array.

0 commit comments

Comments
 (0)