mnahkies / mnahkies/openapi-code-generator
investigate improving number schema generation
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 8
- Avg merge
- 20h 27m
- Merged PRs (30d)
- 7
Description
- consider whether the
formatproperty can be used to improve the schema generation (ref: https://spec.openapis.org/oas/v3.0.3#data-types) - consider whether JSON schema validation information can be used (ref: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5) eg:
minimum/maximum - consider how BigInt's might work
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
Read the OpenAPI 3.0.3 data-types section and the linked JSON Schema validation section first. Then trace the number schema generation entry point and assess format, minimum/maximum, and BigInt behavior. Done requires a defined scope and tests for the selected behavior, but the issue does not specify the expected output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100