Questions tagged [springdoc-ui]

27 questions
1
vote
1 answer

How to change text present on swagger authorization screen using springdoc

I want to change the text present on the swagger authorization UI screen. I want to change the Authorized label to Stored. Please find the below screenshot from swagger UI authorization screen The reason I want to change it as it is miss leading.…
SSK
  • 3,444
  • 6
  • 32
  • 59
1
vote
1 answer

How can I define a tokenURL that will generate the 'Absolute' authentication URL as per user selection of a 'host' from the host list in swagger UI?

I have a spring boot application for which I am trying to generate open API 3.0 docs and for that I am using springdoc lib. I am using annotations to document different parts of the application and in the end I want to auto generate the…
ishan
  • 1,202
  • 5
  • 24
  • 44
1
vote
1 answer

Springdoc Open API UI - BaseLayout doesn't works

I went through: https://springdoc.org/springdoc-properties.html#springdoc-openapi-core-properties before raisng the question, but look like things are not working. I want to use BaseLayout and also wanted to change the theme of the Open API…
Jeff Cook
  • 7,956
  • 36
  • 115
  • 186
1
vote
1 answer

How to Globally ignore API of Spring Boot from Open API 3 specification?

I went through the documentation: https://springdoc.github.io/springdoc-openapi-demos/faq.html#how-can-i-ignore-some-field-of-model- already, but documents are not very clear, I have Spring Boot REST HATEOAS implementation project and using Open API…
PAA
  • 1
  • 46
  • 174
  • 282
0
votes
0 answers

Swagger UI issue when having same root context for two different applications

Getting swagger UI issue when two different microservice having same application root context deployed on sandbox environment. we are using ngnix as reverse proxy routing server between client and backend server. So from Ngnix we are unable to…
0
votes
1 answer

SpringDoc/Swagger doc not displaying correct url

I have setup a base context-path for my spring boot 3 application and I am using spring-doc to display documentation in a swagger-ui. However, when deployed my apps url path gets prefixed with /service-api. This causes a problem when trying to view…
Reid2
  • 41
  • 4
0
votes
0 answers

Springdoc with multiple api-doc in diferent URL and PATH

I have an api in java 8 with springboot 2.7.5 and springdoc-openapi-ui 1.7.0 version. I have three controller in this api like this: /controllerOne (group = ControllerOne) /controllerTwo (group = ControllerTwo) /controllerThree (group =…
0
votes
1 answer

Springdoc openapi 3 @Schema example ignored

@Schema Example is ignored by springdoc Openapi on one class property, but working on other property in the same class. Added @Schema(type = "integer", format = "int64", example = "1560868939063") private Instant date; on a field of a…
Daniel Jeney
  • 486
  • 1
  • 5
  • 19
0
votes
1 answer

How to add OpenApi/Swagger securitySchemes in Apache Camels RouteBuilder.restConfiguration()?

I try to add springdoc-openapi-ui and camel-springdoc-starter. Works not so bad. For now i've trouble with the context path '/camel' and with the missing securitySchemes. Does anyone have an idea how to do this How do i get such a configuration? { …
0
votes
0 answers

Why is my Springboot Springdoc /swagger-ui.html endpoint returning 404 when I include large resource files & build/run the JAR file?

Why is SpringDoc swagger-ui.html returning 404 / Whitelabel Error Page when large resource files are present (eg 7 files of ~380Mb each)? This is occuring after building and running the JAR file. The endpoint works fine when the project is run…
0
votes
1 answer

SpringDoc OpenAPI swagger MergeAnnotations error

I am trying to configure OpenAPI with swagger to my existing non-spring boot application. Spring v.5.1.8.RELEASE SpringDoc v.1.4.6 Spring-boot v.2.3.2.RELEASE Open doc and swagger with spring mv My application is not spring boot enable that’s why I…
d-man
  • 57,473
  • 85
  • 212
  • 296
-1
votes
1 answer

Customizing swagger static resources with Springdoc

According to the documentation (see the link below) the static resources can be customized with Java by extending SwaggerIndexPageTransformer and overriding the transform method. https://springdoc.org/#customizing-swagger-static-resources As I…
krillov
  • 79
  • 1
  • 14
1
2