test(core): integration tests against popular public OpenAPI specs#90
Open
halotukozak wants to merge 1 commit into
Open
test(core): integration tests against popular public OpenAPI specs#90halotukozak wants to merge 1 commit into
halotukozak wants to merge 1 commit into
Conversation
Coverage Report
|
Adds vendored public specs (Swagger Petstore 3.0, OAI petstore-expanded, OAI USPTO) under fixtures/public and integration tests that verify each parses without errors and generates non-empty model + client code. Known limitations surface as logged warnings, not silent failures (e.g. USPTO's freeform search response degrades to JsonElement with a warning). Runs as part of `./gradlew test`. Closes #47 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
3f08d78 to
a026e79
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.
What
Adds integration tests against popular public OpenAPI specs, vendored under
core/src/test/resources/fixtures/public/(provenance inSOURCES.md):allOfcompositionTwo tests (in
IntegrationTest, so they run under./gradlew test):public specs parse without errors— each yieldsParseResult.Success; warnings are logged, never silent.public specs generate non-empty model and client code— model + client output is non-empty; client classes containsuspend fun.Specs are vendored (not fetched at build time) for deterministic, offline runs.
Known limitations surfaced as warnings (not failures)
uspto: one freeform response →JsonElement+ warning.(
petstore-expandedhad an upstreamtype: sthciringtypo inNewPet.tag, corrected tostringin the vendored copy — noted inSOURCES.md.)Closes #47
🤖 Generated with Claude Code