Comments (11)
RE: PagingList, per issue #36, these are not real errors. The message is misleading--we'll remove the message in the next update.
For model Junction--are there public methods/fields in it?
from swagger-core.
Yes. For ebean model, there are public accessors in it.
from swagger-core.
So you mean I don't need to put the weird @XmlRootElement in my models, right? the fix will come in next release, right?
from swagger-core.
Can you post the com.avaje.ebean.Junction model code? If it has public getter/setters, you should see the model correctly.
The message "X not annotated with a @XmlRootElement annotation, using X" is a red herring and will not be printed in the future.
from swagger-core.
com.avaje.ebean.Junction is not my model. this is ebean model and I think it is an interface.
http://grepcode.com/file/repo1.maven.org/maven2/org.avaje/ebean/2.7.0/com/avaje/ebean/Junction.java
from swagger-core.
this is my model.
https://gist.github.com/3445494
from swagger-core.
OK, is the json coming back from the API describing the models correctly? Can you post that?
from swagger-core.
I don't have json coming back from model, only from controller where I defined @Api @ApiOperation..
from swagger-core.
OK, if you can post that, it would be helpful. Perhaps you can join me on #swagger via irc.freenode.net? I'm around for a few minutes
from swagger-core.
sure. let me join that. I do have one more issue.
from swagger-core.
Thanks @fehguy
If anyone searched and found this issue, you might want to check https://github.com/wordnik/swagger-core/blob/master/samples/java-play2/app/controllers/PetApiController.java#L25
The responseClass will be used by swagger to parse the response result.
And those error messages
[error] c.w.s.p.HelpApi
[error] c.w.s.j.ApiModelParser
will be fixed in 1.1.1 release.
from swagger-core.
Related Issues (20)
- Where does the example json get rendered?
- SwaggerAnnotationIntrospector does not support JakartaEE apis HOT 4
- ArraySchema with anyOf is setting type of the items to "string"
- Why does Schema(description="foo") change generated openapi enum type to type: object?
- OpenAPI 3.1 broken reference to child class with oneOf reference
- Example missing for @ExternalDocumentation
- `AnnotatedType` is missing javadoc
- Missing array type when using @ArraySchema
- Is there a way to prevent operationIds suffixes?
- Which versions of swagger-core are actively supported? HOT 1
- NPE thrown in AnnotationUtils due to "API backwards compatibility fix" introduced in 2.2.21 HOT 4
- How to always generate yaml/json with the same element order? HOT 2
- swagger-maven-plugin-jakarta is always using the resourceClasses from the first execution HOT 1
- Eclipse project import crashs HOT 3
- Generated but not references ResponseEntity*** type in schema if rest-api-class is using spring's ResponseEntity
- Include fluent methods in Schema to add types and examples
- Cannot define API Key triple at root level
- java.lang.ClassCastException: class jdk.proxy2.$Proxy95 cannot be cast to class jakarta.validation.constraints.Min HOT 1
- Cast to ComposedSchema fails in case of OpenApi 3.1 with oneOf, anyOf, allOf
- RFC: Improved support for JSONSchema route hosting
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 swagger-core.