Skip to content

[REQ] Generate constants for paths for spring-http-interface library #24048

@ilia1243

Description

@ilia1243

Description

Constants for paths were added for spring-boot library in #1385, but they are still not generated for spring-http-interface library.

https://github.com/OpenAPITools/openapi-generator/blob/v7.23.0/modules/openapi-generator/src/main/resources/JavaSpring/api.mustache#L142

String PATH_{{#lambda.uppercase}}{{#lambda.snakecase}}{{{operationId}}}{{/lambda.snakecase}}{{/lambda.uppercase}} = "{{{path}}}";

Solution

Support the same feature for library spring-http-interface

https://github.com/OpenAPITools/openapi-generator/blob/v7.23.0/modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-http-interface/api.mustache#L49

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions