Skip to content

Change anyOf to oneOf in JSON Schema - #403

Merged
TeresiaOlsson merged 1 commit into
mainfrom
one-of-schema
Sep 11, 2026
Merged

Change anyOf to oneOf in JSON Schema#403
TeresiaOlsson merged 1 commit into
mainfrom
one-of-schema

Conversation

@TeresiaOlsson

Copy link
Copy Markdown
Member

I have changed so the JSON Schema use oneOf instead of anyOf in the JSON Schema. This should have worked before since the schema uses the classes as discriminator but I think there was a bug in the metaconfigurator which made it impossible to use.

The bug seems to be fixed now so I have updated the generator since oneOf is the correct option for our schemas.

@TeresiaOlsson TeresiaOlsson self-assigned this Sep 10, 2026
@TeresiaOlsson
TeresiaOlsson merged commit 90bdfa3 into main Sep 11, 2026
4 checks passed
@TeresiaOlsson
TeresiaOlsson deleted the one-of-schema branch September 11, 2026 07:53
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.

2 participants