swag
swag copied to clipboard
✍🏻 UPDATE(writeonly): add support for writeonly for schema prop types
Describe the PR Support for writeonly tag concerning this issue https://github.com/swaggo/swag/issues/1139
Additional context I submitted an issue for writeonly tag support for swaggo. Here is my proposed solution to it. Hopefully I didn't make too much blunder as this is my first time contributing to Open Source. Here is the link to the issue https://github.com/swaggo/swag/issues/1139.
@en1tan Unit tests are failing. I will start doing a Code Review only when all unit tests pass.
alright
Please fix the conflict in field_parser.go
, and I will do my best to review it.
sure, will do that
@ubogdan fixed
@en1tan your PR doesn't pass unit tests.
@en1tan your PR doesn't pass unit tests.
It's been sometime I checked the fork, will update and let you know
@ubogdan I see the issue is with my request.
go-openapi does not have support for writeOnly
neither does openapi 2.0
writeOnly is an OAS3-specific feature https://swagger.io/specification/#schema-object. Swag is currently supporting OAS 2.0
yeah, I will close this PR now