Top "Springfox" questions

The Springfox suite of java libraries is all about automating the generation of machine and human readable specifications for JSON APIs written using the spring family of projects.

How to configure Spring Security to allow Swagger URL to be accessed without authentication

My project has Spring Security. Main issue: Not able to access swagger URL at http://localhost:8080/api/v2/api-docs. It …

spring-mvc swagger swagger-ui swagger-2.0 springfox
swagger @ApiModelProperty example value for List<String> property

I have one class in which there is one property which is List<String> public class MyClass { .... @ApiModelProperty(…

java swagger springfox
Springfox swagger-ui.html unable to infer base URL - Caused by missing cookies

We have our Spring Boot services behind an API Gateway. With an earlier version of Springfox - 2.1.2 we had no …

spring spring-boot swagger swagger-ui springfox
How to configure oAuth2 with password flow with Swagger ui in spring boot rest application

I have spring boot rest api (resources) which uses another spring boot authorisation server, I have added Swagger config to …

java spring-boot swagger swagger-ui springfox
swagger date field vs date-time field

I am using swagger to test my rest api, one of the property of my entity class is a date …

java swagger swagger-ui springfox swagger-maven-plugin
Add a header parameter in Swagger UI documentation with Springfox

I want to add a header parameter field in the auto-generated swagger ui documentation of my rest service. I use …

spring swagger-ui springfox
How to hide endpoints from Swagger documentation with Springfox

I have a Spring Boot project with next dependency of Springfox: <dependency> <groupId>io.springfox</…

java spring-boot swagger-2.0 springfox
Why is v2/api-docs the default URL when using springfox and Swagger2?

I'm just starting using swagger following this guide, but I found out something very weird that makes no sense for …

java swagger springfox
How to generate offline Swagger API docs?

I have a spring boot MVC java Web app. I've been able to integrate Springfox for API documentation. I can …

java spring-mvc spring-boot swagger springfox
swagger-ui No mapping found for HTTP request

I'm trying to document and existing Rest API a Spring MVC project (NOT spring boot!). My application is called api …

java spring spring-mvc swagger-ui springfox