Skip to content

[Jaxrs-spec] jaxrs-spec-petstore-server.sh is using the wrong templates of Jersey #4720

@jfiala

Description

@jfiala
Description

jaxrs-spec-petstore-server.sh:

Current:
ags="$@ generate -t modules/swagger-codegen/src/main/resources/JavaJaxRS -i modules/swagger-codegen/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-spec -o samples/server/petstore/jaxrs-spec

The templates of Jaxrs-Jersey are used due to the option "-t modules/swagger-codegen/src/main/resources/JavaJaxRS" (correct would be the directory modules/swagger-codegen/src/main/resources/JavaJaxRs/spec)

The template option should not be used, to use the defined templates of jaxrs-spec.

Swagger-codegen version

2.2.2-SNAPSHOT

Suggest a Fix

Remove the -t option.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions