Skip to content

Two way sync between OpenAPI spec and Code in maven plugin #197

@stevehu

Description

@stevehu

This issue was raised from the Gitter and I think it is not hard to do for the model at lease. Put it into the backlog.

For ideas of improving Light-codegen Maven plugin applied for Code-first approach, please upgrade new features about 2-way Sync between OpenApi Spec config file and Current API endpoint including new-in-programming functions. Let's say that most developers are not professional, and many API projects are not perfectly designed from the beginning. Light-4j or Light-rest-4j should, as my vision, support flexible design and programming method like Agile mindset, or similar to automatic tools for synchronizing working java source code with Swagger/OpenAPI Spec (most famous is Spring Boot with JHipster). You should please improve lightCodeGen plugin more easy-to-use than that in Perstore-with-codegen sample. What I mean is In one Maven project you Light-codegen plugin can detect new API endpoint functions with the new data structure and sync with openapi.yaml/json file before release building.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions