GitVhaos

Results issues of GitVhaos

Hi, I`m currently integrating Springfox-Swagger in our new company REST-API and have an issue when using multiple Spring-Controller with same base-url. Let`s say I have at least two Controllers with...

not-reproducable

Having some controller: @ApiResponses(value = { @ApiResponse(code = 500, message = "Internal Server Error", response = FehlerRO.class) }) @RequestMapping(value = "/someresourceurl", method = RequestMethod.GET) public ResponseEntity readResource() Having some model:...

bug

Working on an internal REST-API it`s not possible to use the validation-feature in swagger-ui. Our internal API users will only be confused about the "Error" Validation hint at the bottom...

feature

Having Controller-method: @RequestMapping(value = "/someResource", method = RequestMethod.GET, produces = APPLICATION_JSON_UTF8_VALUE) public ResponseEntity readResources(); Following swagger-json will be generated: "responses":{ "404":{ }, "200":{ "description":"OK", "schema":{ "type":"array", "items":{ "$ref":"#/definitions/someResource" } }...

question

I`m not shure if this has to be adressed for swagger-spec or springfox-swagger: When returning an Java-Enum it would be nice to see the "allowable Values" of this enum as...

feature

Im currently working on an internal API which uses two "parameters" for authentication. These two parameters have to be sent for each request to authenticate the user. The authentication mechanism...

feature

The nearly same bug was already fixed in #793. But same problem exists when I configure "globalResponseMessage" via Docket. Example: @ApiModel(value = "failure") public final class FailureRO { ... }...

question

Using spring expression language in methode siganture, parameters will be exposed to springfox swagger api, which are not part of the public API. Example: public HttpEntity createRessource( @RequestBody final Ressource...

question

**The REST API Operation** RequestMapping(value = "/someRessource", method = RequestMethod.GET) public ResponseEntity serachRessource(@RequestParam(value = "someEnum") SomeEnum someEnum) **will be rendered in Swagger-UI as** "DataType = undefined" **Generated JSON Spec:** {"name":"someEnum","in":"query","description":"someEnum","required":true,"type":"ref"}...

not-reproducable
question