Skip to content

(quarkus-smallrye-openapi) Create separate OpenAPI specs for different packages. #37636

Open

Description

Description

I have the following folder structure for my resources:

api/
├─ v0/
│  ├─ Example V0 Resource
├─ v1/
│  ├─ Example V1 Resource

Currently, the V0 a V1 resources would get put into the same openapi spec. I believe it would be optimal to have a separate spec for the v0 package and a separate spec for the v1 package.

Is it possible to do this? If not, why not?

I originally went asking for this in the https://github.com/smallrye/smallrye-open-api repository, however after they recommended me to use their gradle plugin for this, I realized that I probably should ask here. As I have no idea how to make their gradle plugin and quarkus-smallrye-openapi work together

Implementation ideas

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions