Comments (5)
It's probably typo and class should be SpringDocConfigProperties.
from springdoc.github.io.
docs are updated
from springdoc.github.io.
@bean
SpringDocUIConfiguration SpringDocUIConfiguration(Optional optionalSwaggerUiConfigProperties){
return new SpringDocUIConfiguration(optionalSwaggerUiConfigProperties);
}
is not resolvable. I'm referring to https://springdoc.org/#what-is-a-proper-way-to-set-up-swagger-ui-to-use-provided-spec-yml
Note: I'm on 1.6.9 version
from springdoc.github.io.
This issue resolved after upgraded to 1.7.0
from springdoc.github.io.
I followed https://springdoc.org/#what-is-a-proper-way-to-set-up-swagger-ui-to-use-provided-spec-yml to host my custom yaml in swagger UI by disabling default /v3/api-docs. But when I hit http://localhost:8080/swagger-ui/index.html I'm getting "Page not found exception" - 404.
Here are my props in app context:
springdoc.swagger-ui.url=/openapi-spec.yaml
springdoc.api-docs.enabled=false
`
@bean
SpringDocConfiguration springDocConfiguration(){
return new SpringDocConfiguration();
}
@bean
SpringDocConfigProperties springDocConfigProperties() {
return new SpringDocConfigProperties();
}
@bean
ObjectMapperProvider objectMapperProvider(SpringDocConfigProperties springDocConfigProperties){
return new ObjectMapperProvider(springDocConfigProperties);
}
@bean
SpringDocUIConfiguration SpringDocUIConfiguration(Optional optionalSwaggerUiConfigProperties){
return new SpringDocUIConfiguration(optionalSwaggerUiConfigProperties);
}
`
Could you please help me here?
from springdoc.github.io.
Related Issues (20)
- favicon same a Spring project. HOT 1
- FAQ 11.45 Wrong dependency?
- document which regex dialect use use/support with sprindoc-openapi HOT 2
- Clarify compatibility matrix HOT 1
- swagger-ui is not showing "select a definition" instead shows Explore option with text box HOT 7
- @ParameterObject: there are no parameters if there are no get methods in the model. HOT 2
- Customizing swagger static resources HOT 1
- A bit more Gradle plugin docs, please? HOT 3
- Fix documentation for programmatic RouterFunctions HOT 4
- Kotlin module for v2? HOT 4
- Misleading docs - web UI url's HOT 1
- In FAQ section 13.24, the Apache 2 RequestHeader configuration syntax is incorrect HOT 1
- Document code Migrating spring fox is not correct HOT 1
- Remove references to springdoc-openapi-starter-common HOT 1
- For SpringDoc OpenAPI 1.6, Swagger UI unable to render definition HOT 7
- "Deep Linking documentation" - broken link
- Removing webjars-locator-core broke using a provided spec.
- Wrong springboot version for reverse proxy faq HOT 1
- validatorUrl description does not match the actual code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from springdoc.github.io.