-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Description
Hi there, in the XQuery language we have RESTXQ which is a bit like Java's JAX-RS annotations. I would be interested in contributing a server stub code generator for this.
If I sent a PR for this, would it be considered?
Can I also check if I understand correctly that I need to basically follow these steps:
-
Create a new generator class
XQueryRestXq1ServerCodegenin themodules/openapi-generator/src/main/java/org/openapitools/codegen/languages/directory. -
Provide Mustache templates in a
src/main/resources/xquery-restxq1directory for models, API endpoints, and server stub code. -
Add the new generator to the list of supported server stubs.
-
Add tests/samples: build a minimal
petstore.yamlwith the cli using-g xquery-restxq1example and confirm generation works.