Skip to content

Commit

Permalink
[Issue #2847] Hide v0/v0.1 opportunity endpoints from swagger (#2848)
Browse files Browse the repository at this point in the history
## Summary
Fixes #2847

### Time to review: __3 mins__

## Changes proposed
Hide the v0/v0.1 endpoints from the OpenAPI docs

## Context for reviewers
The endpoints will continue to function, we just tell the processes that
APIFlask uses to generate the OpenAPI spec to skip these endpoints. The
endpoints continue to work uneventfully.

Note: we use these already for a few things, as we also use blueprints
to define backend API tasks with this flag set.

## Additional information
What things look like now:
![Screenshot 2024-11-13 at 4 40
21 PM](https://github.com/user-attachments/assets/27505e2c-8ee5-4233-b146-ebb8aeafb389)

---------

Co-authored-by: nava-platform-bot <[email protected]>
  • Loading branch information
chouinar and nava-platform-bot authored Nov 14, 2024
1 parent 6619408 commit 946a650
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 1,110 deletions.
Loading

0 comments on commit 946a650

Please sign in to comment.