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

Open API: Response validation does not recognize "writeOnly" properties #232

Closed
kerrykimbrough opened this issue May 2, 2022 · 1 comment

Comments

@kerrykimbrough
Copy link
Contributor

When a response is defined using an object schema, any object properties that are designated as writeOnly "MAY be sent as part of a request but SHOULD NOT be sent as part of the response." But response validation does not recognize this distinction and will enforce requirements for such properties as if they are not writeOnly.

@kerrykimbrough
Copy link
Contributor Author

Fixed by PR #233

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant