Skip to content

Can I contribute an XQuery RESTXQ server stub generator #22273

@adamretter

Description

@adamretter

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:

  1. Create a new generator class XQueryRestXq1ServerCodegen in the modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/ directory.

  2. Provide Mustache templates in a src/main/resources/xquery-restxq1 directory for models, API endpoints, and server stub code.

  3. Add the new generator to the list of supported server stubs.

  4. Add tests/samples: build a minimal petstore.yaml with the cli using -g xquery-restxq1 example and confirm generation works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions