Skip to content

[Spring] Generated controllers ignore basePath #1928

@zadam

Description

@zadam

I have the following line in the openapi file:

basePath: "/v1"

I would expect generated controllers (interfaces) would use this basePath as prefix for all the paths, but they don't contain this "v1" and just use resource path:

@RequestMapping(value = "/abc", method = RequestMethod.GET)

I'm using latest stable release 3.3.4.

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