Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation for Schema annotation #4461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Update Schema.java
  • Loading branch information
ruslangazizov committed Aug 4, 2023
commit dd72c7e2efbba883535352c7701dd17d3c152105
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