anaptecs / jeaf-generator

JEAF Generator uses UML models to generate code for Spring, REST, OpenAPI, Java and others. Boost your software development efficiency and time-to-market. Bye bye handwritten boiler blade code.
https://www.jeaf-generator.io
Apache License 2.0
2 stars 1 forks source link

Path prefix for all REST operations #141

Closed jeaf-anaptecs closed 4 months ago

jeaf-anaptecs commented 5 months ago

Feature Description

Sometimes standard http methods for REST operations are not sufficent. Google recommends for such cases to work with resource:doSomething as convention e.g. /customers:prepare and /customers:confirm.

If you just define that path on level of service operation everything is fine. However if you want to avoid the duplication of the general resource name and add that on service level in Spring and OpenAPI it results in /customers/:prepare.

This is not a generator issue, but anyways not what we would like to have.


Describe the solution you'd like