OpenAPITools / OpenAPITools/openapi-generator
[REQ] JSON Schema model generation
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
With OpenAPI 3.1 unifying it's schema support with JSON schema (https://spec.openapis.org/oas/v3.1.0#schema-object) this project is going to have to support all of JSON schema for OpenAPI compliance. Given that could we also use this project as a code generator for JSON schema files, i.e. no endpoint/api/client files, just the models. I'd imagine most of the model code would be common for schemas within an OpenAPI file, and those just in a JSON schema file.
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 with the OpenAPI 3.1 Schema Object specification linked in the issue and trace the existing model-generation entry point. No file or test is named, so first identify where OpenAPI models are generated and how standalone input is loaded. Done means generating models from JSON Schema files without endpoint, API, or client files while covering the JSON Schema support needed for OpenAPI compliance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100