Skip to content

oas3=true support for jaxrs-spec generator #12379

@ashishsanodia-harness

Description

@ashishsanodia-harness
Description

There is no way of making the jaxrs-spec generator with configOptions -> oas3=true to generate annotations using swagger v3 annotations.

openapi-generator version

6.0.0-SNAPSHOT

OpenAPI declaration file content or url

https://github.com/OAI/OpenAPI-Specification/blob/main/examples/v3.0/petstore.yaml

Command line used for generation

java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -i /Users/ashishsanodia/petstore.yaml -g jaxrs-spec -o /Users/ashishsanodia/test-pet-server-api -c /Users/ashishsanodia/pet-server-generator-config.json

Steps to reproduce

generate server stub using above command line

Related issues/PRs

#10814

Suggest a fix/enhancement

Similar to what spring generator supports oas3=true to generate annotations using swagger v3 annotations.

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