Arun8460

Results comments of Arun8460

Hi Team, I am facing same issue. I am using Swagger 2.7.0. When I return "String" from the REST api, swagger-ui is displaying "no content" in the response body with...

"2.7.0" is the Springfox library version not the Swagger version. Following is the dependency used. io.springfox springfox-swagger2 2.7.0 io.springfox springfox-swagger-ui 2.7.0 When I return "String" from the REST api, swagger-ui...

On hitting http://xxxxxxxxxx:xxxx/rw/user/v2/api-docs, I got api-docs, swagger version is 2.0 as per the following info: {"swagger":"2.0","info":{"description":"Api Documentation","version":"1.0","title":"Api Documentation","termsOfService":"urn:tos","contact":{},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0"}},"host":"xxxxxxxxxxx} Springfox 2.7.0 is mapped with Swagger 2.0 (from the above api-docs...

@webron , is there any update on this?

Following info is from springfox-swagger-ui-2.7.0.jar: Manifest-Version: 1.0 Build-Time: 2017-05-20T22:12:34-0500 Built-With: gradle-3.5, groovy-2.4.10 Implementation-Title: springfox-swagger-ui Implementation-Version: 2.7.0 Built-On: ISDV161716L.local/192.168.1.163 Built-By: d_krishnan Created-By: 1.7.0_79 (Oracle Corporation) **SwaggerUi-Version: 2.2.10** Is there a way...

Facing same issue: level=info ts=2018-07-12T10:28:29.429527993Z caller=main.go:174 msg="Starting Alertmanager" version="(version=0.15.0, branch=HEAD, revision=462c969d85cf1a473587754d55e4a3c4a2abc63c)" level=info ts=2018-07-12T10:28:29.429617252Z caller=main.go:175 build_context="(go=go1.10.3, user=root@bec9939eb862, date=20180622-11:58:41)" level=info ts=2018-07-12T10:28:29.45677939Z caller=cluster.go:155 component=cluster msg="setting advertise address explicitly" addr= port=8001 level=error ts=2018-07-12T10:28:29.463090869Z caller=main.go:201...

Yes, using curl, I could see the response.

SwaggerConfig.java : ```java @bean public Docket api() { return new Docket(DocumentationType.SWAGGER_2) .select() .apis(RequestHandlerSelectors.basePackage("xxxxxxxx")) .paths(PathSelectors.regex("/xx/.*")) .build() .directModelSubstitute(LocalDate.class, java.sql.Date.class) .directModelSubstitute(LocalDateTime.class, java.util.Date.class) .consumes(Sets.newHashSet(APPLICATION_JSON_VALUE)) .securityContexts(Lists.newArrayList(securityContext())) .securitySchemes(Lists.newArrayList(new ApiKey("Authorization", "Authorization", "header"))) .ignoredParameterTypes(xxxxxxx.class, xxxxxx.class); Request mapping: @RequestMapping(value...

Similar issue reported: [https://github.com/swagger-api/swagger-ui/issues/2584](url)

On hitting http://xxxxxxxxxx:xxxx/rw/user/v2/api-docs, I got api-docs, swagger version is 2.0 I guess from the following info: ```json {"swagger":"2.0","info":{"description":"Api Documentation","version":"1.0","title":"Api Documentation","termsOfService":"urn:tos","contact":{},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0"}},"host":"xxxxxxxxxxx} ``` I doubt whether swagger 2.0 has a limitation....