Launching today

openapi-2-java-record-mustache-templates
Generate Java Records from OpenAPI Specifications
8 followers
Generate Java Records from OpenAPI Specifications
8 followers
Project containing Mustache-templates used by openapi-generator-maven-plugin to generate Java Records from OpenAPI Specifications.


would love to see a sample module that shows generated records from a tiny OpenAPI spec, makes it way easier to evaluate the templates without wiring up a full maven build first
Thanks for the feedback!
There is a larger scoped example in the README. However, it is quite brief in terms of instructions and instead focuses on showing features.
For a smaller, more beginner-friendly instructions, check out the Beginner guide.
Much love,
Chris
Finally a clean way to generate Java records from OpenAPI specs without all the Lombok boilerplate. Plugged it into our Maven build and it just worked, output matches what I'd write by hand.
Glad you liked it!
Much love,
Chris
honestly love how clean and focused this is, just straightforward mustache templates that turn openapi specs into proper java records without any extra fluff. really nice execution for such a specific use case.
Thanks for the kind words!
Much love,
Chris