davidmoten / davidmoten/openapi-codegen

nested discriminated oneOf not supported

Open
#218 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
15
Forks
1
PR merge metrics
No merged PRs in 30d

Description

If a discriminated oneOf itself has a oneOf as a member then the generated classes have compile failures.

Quite doable but not supported for the moment. Comment here if you need it.

Note that discriminated oneOf is not really necessary if the discriminating member is typed with a single value enum (all members are distinguishable at deserialization time if that's the case).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.