devexperts / devexperts/swagger-codegen-ts

anyOf support

Open
#179 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
80
Forks
17
PR merge metrics
No merged PRs in 30d

Description

I suggest adding support `anyOf` to codegen.
the difference between `anyOf` and `oneOf` is discussed here: https://stackoverflow.com/a/56039838

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the codegen entry points that handle Swagger schemas and compare the existing oneOf path with the requested anyOf behavior. Review the linked explanation to define the semantic difference, then identify the affected generated TypeScript and io-ts output. Done means supported anyOf schemas generate correct output and have coverage in the project's tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.