Repository navigation
docs(contributing): describe the generated request classes - #496
Merged
Merged
Conversation
The code overview moved from the README on main, where requests are still written by hand. On beta they are generated, so the overview now says where the generated classes and SpotifyApi methods live and which two requests stay hand-written, and the development setup lists the Python and PyYAML the generator needs, with its commands.
dargmuesli
force-pushed
the
docs/contributing-codegen
branch
from
November 5, 2026 13:42
a467862 to
b3ca6a3
Compare
dargmuesli
enabled auto-merge
November 5, 2026 13:43
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## beta #496 +/- ##
=========================================
Coverage 37.10% 37.10%
Complexity 509 509
=========================================
Files 106 106
Lines 4282 4282
Branches 196 196
=========================================
Hits 1589 1589
Misses 2603 2603
Partials 90 90 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Follow-up to #495 for
beta. The code overview that #495 moved into CONTRIBUTING.md describesmain, where requests are still written by hand. Onbetathey are generated, so this PR updates it.src/main/javaand the generated request classes are insrc/generated/java, under the same packages, with Maven adding the second source root.requests/entry explains that the data requests and theirSpotifyApimethods are generated fromspec/openapi.yamlviacodegen/requests.yaml, and that the methods sit between// <generated-requests>markers. It also names the two requests that stay hand-written (GetUsersTopArtistsAndTracksRequest,AddCustomPlaylistCoverImageRequest)../codegen/generate.pyand--checkcommands.The README's Code Overview, which
betahad already updated for codegen, was dropped while mergingmainintobeta(b285ee8) in favour ofmain's version. Its codegen sentence now lives here.ci/check-docs.pypasses.