forked from wikimedia/hyperswitch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support hiding entry points with
x-hidden
This patch adds a small, private extension that lets us hide private entry points from the docs by adding an `x-hidden` boolean property at the method level. This is occasionally useful for "boilerplate" entry points like /robots.txt. There are discussions about more advanced ACL-based doc hiding at OAI/OpenAPI-Specification#433, but those haven't lead anywhere yet. This is a simple solution that will work in the meantime.
- Loading branch information
Showing
1 changed file
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters