softwaremill / softwaremill/tapir
Schema support for mutually exclusive fields (exactly oneOf)
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.5k
- Forks
- 468
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 34
Description
OpenAPI allows for expressing mutually excslusive fields (exactly oneOf). Is it perhaps possible in Schema?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Schema API and its OpenAPI conversion entry points; the issue does not name specific files or tests. Determine how mutually exclusive fields should be represented and add support for exactly oneOf, with tests showing the generated schema and the intended validation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, scala
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100