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

OpenAPI descriptors - exclude inaccessible properties #612

Closed
andrus opened this issue Feb 11, 2023 · 0 comments
Closed

OpenAPI descriptors - exclude inaccessible properties #612

andrus opened this issue Feb 11, 2023 · 0 comments
Milestone

Comments

@andrus
Copy link
Contributor

andrus commented Feb 11, 2023

While property access rules are sometimes defined per-response, I think it would be reasonable to exclude any properties that are not readable or writable at the common model level (unreadable - from Entity, unwritable - from EntityUpdate).

Limitation: if per-request entity overlays re-enable previously hidden properties, they will still stay hidden in the OpenAPI model. This is not that different from a case when per-request overlays would define entirely new properties (those will also not show up).

@andrus andrus added this to the 5.0.M13 milestone Feb 11, 2023
@andrus andrus closed this as completed Feb 11, 2023
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