Comments (6)
@mchmielarz I dont believe there is an outstanding bug. Having said that this is a new feature so its possible you might have uncovered one! If you send me more details, may be yr controller signature and/or yr test case, I can see if I can help you with your problem.
In the absence of that, I'll try and see if I can reproduce a similar scenario. Basically we're trying to generate the model schema for a class that is either an parameter or a return value of a controller and that class has only one property thats an enum.
Also you should be using 0.3.3 or a later version of the library.
from springfox.
@mchmielarz I confirmed that this is a bug. The swagger-core api does not support json schema completely. So any models that have enums in them, have issues rendering. It is unable to read the "enum" property thats generated, as you might've already guessed :)
Thank you for reporting this issue
from springfox.
This fix should now be fixed in 0.3.4 or higher
from springfox.
Hi Dilip,
First of all THANK YOU for so quick fix! :)
I see in readme.md in 'Getting started' section that version is updated to 0.3.4. Does this mean this version is available on some maven repository? I can find in oss.sonatype.org repo version 0.3.2 only.
Cheers,
Michal
from springfox.
Seems like we're having some issues with sonatype. I'll look into it. Sorry for the wait.
from springfox.
@mchmielarz 0.3.4 should now be visible in maven central
from springfox.
Related Issues (20)
- Is this project still alive? or is there any plan to release a new version HOT 3
- Incompatible because this component declares a component compatible with Java 11 and the consumer needed a component compatible with Java 8
- Bump Swagger UI Dependency to latest
- springfox-swagger-ui/-boot-starter not found
- WebMvcRequestHandlerProvider should not use @Component HOT 1
- How to add common headers using spring fox 3
- swagger2+nginx reports 404 problem when accessing swagger
- When there are 20,000 controllers, the startup time exceeds two hours.
- Can we use springfox with springboot 3.1.4?? Or any version of springfox is compatible with springboot 3.1.4 HOT 2
- Any springfox version compatible with springboot 3???? HOT 3
- Swagger UI not Showing Map<String, Object> myField ?
- Description of ResponseHeader is blank
- The launch is just around the corner HOT 3
- Need similar way for Open API
- Unable to Access Swagger-UI After Implementing Spring Security Configuration HOT 2
- error and exception`documentationPluginsBootstrapper` when configuring it to my springboot project HOT 4
- Failed to convert value of type 'java.lang.String' to required type 'int'; For input string: "load_form"]
- Failed to start bean 'documentationPluginsBootstrapper' HOT 1
- Springfox 3.0 loading API interfaces is still quite slow
- The configuration information for SpringBoot and Swagger versions is as follows: Unable to start HOT 1
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 springfox.