springfox Questions
2
Solved
I am new to Swagger.io and so also to Spring fox. The problem I am having is, that for some Reason one Object is not correctly referenced to its model.
The error in the UI:
The error is because it...
Zaid asked 30/8, 2020 at 21:51
3
Solved
I am experiencing an issue using springfox-swagger2 v2.2.0 related to the request padding port 80 for a HTTP URL.
Is there anyway to disable the generation of the port or set the port to 443 prog...
10
I have one class in which there is one property which is List<String>
public class MyClass {
....
@ApiModelProperty(position = 2)
private List<String> productIdentifiers;
....
}
Th...
5
How do I sort my operation by method alphabetically e.g. DELETE, GET, POST, PUT.
I have read from this post but it is in HTML but in my case, I have integrated Swagger into Spring Boot so I need t...
Lavatory asked 23/1, 2017 at 7:46
3
I have configured a Spring Boot application with Swagger API documentation and configured Swagger UI.
I also run my backend application behind a reverse proxy that maps all requests from host:port...
Gombach asked 24/4, 2018 at 19:46
9
Solved
Is there a way i can remove the "basic-error-controller" from springfox swagger-ui?
Picture:
Ce asked 5/10, 2015 at 5:39
2
I have a problem about opening swagger ui in my Spring Boot Example.
I get this kind of error when I access to localhost:8080/swagger-ui or localhost:8080/root-api-name:swagger-ui
Securing GET /spr...
Arbuthnot asked 21/7, 2022 at 23:4
2
Solved
For enabling Swagger in SpringBoot 2.7 what are the advantages/disadvantages of choosing springdoc-openapi over Springfox
Restaurateur asked 2/6, 2022 at 17:1
4
Solved
I'm getting some minor troubles using Springfox. I can't set a name to @RestController classes.
I'm using Spring boot and Swagger2.
The following code will produce a controller named "rest-status...
Hardpressed asked 22/6, 2016 at 7:43
5
Solved
I am developing demo REST service using Spring Boot where user has to login in order to to perform certain subset of operations. After adding Swagger UI (using springfox library) with that simple c...
Scalar asked 20/12, 2015 at 21:58
3
Solved
My dependency....
<!-- SPRING BOOT -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>3.0.0</v...
4
I am getting an error when trying to run my API locally after trying to add a swagger config class that would allow me to send a Bearer Token with my swagger requests. I have tried everything I can...
Shitty asked 19/5, 2020 at 21:54
10
I'm having trouble understanding why "Authorization: Bearer __" is not being sent in my api using Springfox 2.5.0. I have the following configuration:
private ApiKey apiKey() {
return new ApiKey(...
Flashcube asked 25/1, 2018 at 12:3
2
I am using springfox-boot-starter dependency for swagger UI in my spring boot application but when I try to run the application I am getting below error
Failed to start bean 'documentationPluginsB...
Isoagglutinin asked 21/9, 2020 at 12:0
2
Solved
I have integrated swagger to my Spring Boot project using SpringFox build and it work for my GET API. However on my POST API which requires the request in application/json format, the swagger-ui do...
Gwendagwendolen asked 29/5, 2020 at 4:32
3
Solved
I have a REST API and springfox swagger v2.6.1 included and working. But now, I would like to not always display all the controllers I have, because some of them are very technical and not intended...
4
I'm running a service, where Swagger UI is accessible at:
http://serviceURL/swagger-ui.html
However, it is behind a proxy, such as:
http://proxyURL/serviceName
Generated URLs by Swagger UI ar...
Chastain asked 24/3, 2016 at 11:13
2
I'm using Spring Boot Data, QueryDSL and Swagger.
I've define endpoint like this:
@GetMapping
public ResponseEntity<?> listOfThings(
@PageableDefault(size = 20, sort = "uID", direction = So...
Eggbeater asked 31/10, 2018 at 10:30
16
I'm trying to document and existing Rest API a Spring MVC project (NOT spring boot!).
My application is called api so http://localhost:9090/api would be the root endpoint. Because I'm using sprin...
Garbo asked 21/4, 2017 at 14:41
6
I am using springfox swagger-ui with Springboot but the fileUpload button is not enabled for multipart upload. I tried upgrading to springfox-swagger-ui 3.0.0 but that does not even bring up the sw...
Brenza asked 6/8, 2020 at 0:11
3
Swagger - spring fox - hide password.
In one of our API I need to return alphanumeric code after verifying user id and password.
We are using springfox-swagger-ui-2.3.1.I have a field "password"...
Slop asked 14/9, 2017 at 22:25
3
Solved
In Springfox 3.0, springfox.documentation.service.Parameter is deprecated.
Is there a newer way of providing the parameter and its builder?
And how to provide its default value?
8
Solved
Springfox 3.0.0 is not working with Spring Boot 2.6.0, after upgrading I am getting the following error
org.springframework.context.ApplicationContextException: Failed to start bean 'document...
Imine asked 1/12, 2021 at 2:9
3
Solved
In my spring-boot application, I use swagger2 to document the web-services.
I use some classes that have java.sql.Time and java.util.Date attributes.
In swagger-ui, they appears like this :
Dat...
Cognizable asked 21/10, 2015 at 16:6
6
I have configured my spring project using springfox 2.0. I am able to generate the open api spec with it.
"paths": {
"/test/testinfo": {
"post": {
"tags": [
"test-controller"
],
"summary": ...
© 2022 - 2024 — McMap. All rights reserved.