Skip to content

Support readOnly / writeOnly.#81

Open
ieure wants to merge 2 commits intoa-h:masterfrom
ieure:ieure/access-struct-tags
Open

Support readOnly / writeOnly.#81
ieure wants to merge 2 commits intoa-h:masterfrom
ieure:ieure/access-struct-tags

Conversation

@ieure
Copy link
Contributor

@ieure ieure commented Jan 5, 2022

This PR adds support for R/O and R/W fields. Properties with a JSON Schema readOnly or writeOnly set will have a jsonSchema struct tag added, with a readonly or writeonly value inside it.

Ian Eure added 2 commits January 5, 2022 12:47
This PR adds support for R/O and R/W fields.  Properties with a JSON
Schema `readOnly` or `writeOnly` set will have a `jsonSchema` struct
tag added, with a `readonly` or `writeonly` value inside it.
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

Successfully merging this pull request may close these issues.

1 participant