Skip to content

fix(#1609): Fix oneOf schema generation and remove duplicate HTTP method entries#1611

Open
christophd wants to merge 1 commit into
mainfrom
feature/1609-fix-anyof-oneof
Open

fix(#1609): Fix oneOf schema generation and remove duplicate HTTP method entries#1611
christophd wants to merge 1 commit into
mainfrom
feature/1609-fix-anyof-oneof

Conversation

@christophd

Copy link
Copy Markdown
Member

Summary

  • Add not { anyOf } constraint to oneOf schema generation in CitrusModule to enforce proper mutual exclusivity in generated JSON schemas
  • Remove duplicate PUT entries in HTTP method enums in Http.java
  • Update control test resource to reflect the corrected schema output

Fixes #1609

Test plan

  • Verify citrus-catalog-aggregate-test-actions.json control file matches generated output
  • Run schema-generator tests: ./mvnw test -pl tools/schema-generator
  • Run citrus-http tests: ./mvnw test -pl endpoints/citrus-http

🤖 Generated with Claude Code

…hod entries

Add not-anyOf constraint to oneOf schema generation to enforce mutual
exclusivity in generated JSON schemas. Also remove duplicate PUT entries
in HTTP method enums.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Citrus Test DSL JSON Schema quality and correctness

1 participant