Skip to content
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Plugin class JaxrsReader fails to detect field-level params #144

@GrafDiffusore

Description

@GrafDiffusore

For a sample class

@Api(value = "/api1")
public class ApiImpl {
    @ApiParam(value = "defines originator of request to API")
    @QueryParam("sourceId")
    private String sourceId;
...
}

JaxrsReader fails to include sourceId into generated swagger object.
In io.swagger.jaxrs.Reader, on which this class seems to be based, there lot of additional parsing code, including parsing of field-level params (via call to ReaderUtils#collectFieldParameters).

Would be good idea to re-use io.swagger version in your plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions