feat: Update v2 OpenAPI specification from SonarQube API docs#112
Open
feat: Update v2 OpenAPI specification from SonarQube API docs#112
Conversation
Copilot
AI
changed the title
[WIP] Update the v2 API specification with latest contents
Update v2 OpenAPI specification from SonarQube API docs
Nov 20, 2025
Member
|
Copilot i have adjusted the firewall, try to access the URLS again and get the latest specification |
Contributor
Author
8ed0f29 to
d490578
Compare
c279200 to
ae4939d
Compare
Co-authored-by: ScottGuymer <956825+ScottGuymer@users.noreply.github.com>
ae4939d to
51b8d88
Compare
9ec8d25 to
ac0dd31
Compare
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.
Updates
src/schema/sonarqube-v2.jsonwith the latest v2 API specification from https://next.sonarqube.com/sonarqube/api/v2/api-docs and regenerates the TypeScript SDK.Changes
src/schema/sonarqube-v2.jsonwith latest specification from SonarQube instancesrc/generated/viayarn openapi-ts(merges v1/v2 schemas and generates TypeScript client)usersManagementservice instead ofuserto match the new API structureThis ensures the SDK stays in sync with SonarQube's evolving v2 API surface.
Original prompt
<issue_description>Update the v2 openapi specification with the latest from https://next.sonarqube.com/sonarqube/api/v2/api-docs
We should download and overwrite the contents from this URL into the file without changes.
Once updated we need to regenerate the SDK and run the tests using yarn openapi-ts and yarn test.</issue_description>
Comments on the Issue (you are Copilot in this section)
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.