Skip to content

Commit

Permalink
Update Schema.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslangazizov authored and frantuma committed Oct 2, 2024
1 parent dd028ca commit 2a88599
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
boolean writeOnly() default false;

/**
* Allows to specify the access mode (AccessMode.READ_ONLY, READ_WRITE)
* Allows to specify the access mode (AccessMode.READ_ONLY, WRITE_ONLY, READ_WRITE)
*
* AccessMode.READ_ONLY: value will not be written to during a request but may be returned during a response.
* AccessMode.WRITE_ONLY: value will only be written to during a request but not returned during a response.
Expand All @@ -246,7 +246,7 @@
* @return the accessMode for this schema (property)
*
*/
AccessMode accessMode() default AccessMode.AUTO;
AccessMode accessMode() default AccessMode.AUTO;

/**
* 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.
Expand Down

0 comments on commit 2a88599

Please sign in to comment.