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 do friendly base url for swagger 2.8.0

I'm trying to change base access url for API documentation. The url is "http://localhost:8080/swagger-ui.html". I want to …

java spring-boot rest swagger springfox
How do I enable CORS headers in the Swagger /v2/api-docs offered by Springfox Swagger?

I have the following file in my project: @Configuration @Order(Ordered.LOWEST_PRECEDENCE) public class SwaggerConfig { @Bean public Docket apiSwagger2…

spring spring-mvc spring-boot springfox
Customizing Request Header description in Swagger UI using Springfox-Swagger2

I am using Springfox Swagger2 version 2.4.0, Springfox Swagger UI version 2.4.0 and Swagger Annotations version 1.5.0 in my Spring Boot application. The …

spring-boot swagger swagger-ui swagger-2.0 springfox
No mapping found for swagger-resources/configuration/ui

I am trying to configure swagger ui in non spring boot app. I have done following things. 1. Added Following dependencies &…

java spring documentation swagger springfox
Documenting Spring's login/logout API in Swagger

I am developing demo REST service using Spring Boot where user has to login in order to to perform certain …

java spring-boot swagger swagger-ui springfox
SpringFox Swagger - Optional and Mandatory fields in model

I used SpringFox library for rest documentation of my spring boot app. When I click on model , all the elements …

java spring spring-boot swagger springfox
Correct the classpath of your application so that it contains a single, compatible version of org.springframework.plugin.core.PluginRegistry

i'm migrating a modular app into a microsevrices app using spring cloud, when i finished migrating a module into microservice …

spring swagger springfox
How to change basePath for Springfox Swagger 2.0

I'm running a service, where Swagger UI is accessible at: http://serviceURL/swagger-ui.html However, it is behind a proxy, …

java spring-boot swagger-ui swagger-2.0 springfox
Springfox @RestController naming

I'm getting some minor troubles using Springfox. I can't set a name to @RestController classes. I'm using Spring boot and …

spring-boot swagger springfox
Add Swagger Basic AUTH to Spring Boot App

Requirements: Spring Boot application with Springfox Add BASIC authentication to Swagger Pass on all other requests Code: implemented @EnableWebSecurity @Configuration …

java spring spring-boot swagger springfox