OpenAPITools / OpenAPITools/openapi-generator
[Typescript - Fetch] validation on properties
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Hello,
I'm exploring what this generator can do. While I see it can correctly infer the validation of required properties in complex objects.
I'm wondering if there is any option for the generator to include the validation from swagger.
I don't have any particular use case but I can't seem to find any trace of this potential feature here
Contributor guide
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 reviewing the TypeScript Fetch generator and its current handling of required properties in complex objects. Then determine which Swagger validation constraints are represented and what behavior the requested option should provide. Done would mean a defined implementation scope for validation support, with corresponding verification identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100