kin-openapi icon indicating copy to clipboard operation
kin-openapi copied to clipboard

readOnly writeOnly validation

Open danicc097 opened this issue 3 years ago • 3 comments

Adds support for readOnly and writeOnly example validation based on request or response context, if any. Will need to fix relevant tests (or perhaps misunderstood something). Again, all comments appreciated

danicc097 avatar Sep 17 '22 08:09 danicc097

Ah sorry I missed reviewing this and now this needs rebasing.

fenollp avatar Sep 22 '22 13:09 fenollp

PS: sorry about the useless review code snippets, can't seem to edit the selection after submitting...

danicc097 avatar Sep 22 '22 21:09 danicc097

I think this should cover everything: readOnly and writeOnly properties request, response and examples validation

danicc097 avatar Sep 23 '22 13:09 danicc097

@fenollp does this look good to you, before I fix merge conflicts?

danicc097 avatar Oct 15 '22 17:10 danicc097

@danicc097 There you go :)

fenollp avatar Oct 20 '22 18:10 fenollp