-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add a new decorator @visibility('undocumented')
#6392
Comments
+1 for adding the decorator. It helps abstract OAS 3 away from the developer, thereby making it more discoverable and more "natural" to implement. Let's make the decorator applicable at the
The documentation states otherwise: |
closes loopbackio#6392 Signed-off-by: Rifa Achrinza <[email protected]>
closes loopbackio#6392 Signed-off-by: Rifa Achrinza <[email protected]>
closes loopbackio#6392 Signed-off-by: Rifa Achrinza <[email protected]>
+1
Ah, my bad, thank you @achrinza for correcting my mistake! |
closes loopbackio#6392 Co-authored-by: Miroslav Bajtoš <[email protected]> Signed-off-by: Rifa Achrinza <[email protected]>
closes #6392 Co-authored-by: Miroslav Bajtoš <[email protected]> Signed-off-by: Rifa Achrinza <[email protected]>
#1896 added support for a LoopBack-specific OpenAPI metadata allowing API developers to hide an endpoint (an OpenAPI operation) from the spec generated by the server.
At the moment, developers must use@operation
decorator to provide this metadata, decorators like@get
and@post
cannot be used.Let's implement a new decorator
@visibility
to make it easier to addx-visibility
metadata to controller methods.Example use:
The text was updated successfully, but these errors were encountered: