Repository navigation
feat(api): enable OpenAPI by default - #46606
Merged
Merged
Conversation
wylswz
requested review from
QuantumGhost,
crazywoola and
laipz8200
as code owners
November 17, 2026 11:59
Contributor
Pyrefly Type Coverage
|
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (42.60%) is below the adjusted base coverage (87.37%). You can increase the head coverage or adjust the Removed Code Behavior. Additional details and impacted files@@ Coverage Diff @@
## fix/pat-hide-knowledge-base #46606 +/- ##
================================================================
- Coverage 89.46% 78.78% -10.69%
================================================================
Files 6438 4392 -2046
Lines 405210 322048 -83162
Branches 81522 53722 -27800
================================================================
- Hits 362539 253716 -108823
- Misses 36269 61928 +25659
- Partials 6402 6404 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
6 tasks done
wylswz
force-pushed
the
feat/openapi-enabled-by-default
branch
2 times, most recently
from
November 17, 2026 12:40
4767621 to
17b6b89
Compare
wylswz
force-pushed
the
feat/openapi-enabled-by-default
branch
from
November 17, 2026 12:59
17b6b89 to
4767621
Compare
QuantumGhost
approved these changes
Nov 17, 2026
wylswz
force-pushed
the
feat/openapi-enabled-by-default
branch
from
November 17, 2026 13:14
4767621 to
2751c30
Compare
…the box Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
wylswz
force-pushed
the
feat/openapi-enabled-by-default
branch
from
November 17, 2026 13:44
2751c30 to
03e3146
Compare
wylswz
enabled stacked auto-merge
November 17, 2026 13:44
3 of 5 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of #46612
Supersedes #46603 (moved to a stacked branch).
Self-hosted CE did not enable
OPENAPI_ENABLEDby default, yet the account page still lets users create personal access tokens. Every PAT call then returned 404 because the/openapi/v1blueprint was not registered. TurnOPENAPI_ENABLEDon by default and update theapi.defaultscomment. SetOPENAPI_ENABLED=falseto disable it.Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint godsFrom Devin