-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JaxrsApiReader misses some properties #508
Comments
I think I fixed this as of pull request #531 |
Is this fix planned to be part of the 1.3.8 release? |
Yes it is |
Would it be possible to backport this bug fix to 1.3.7? Our release is coming up in one month and this bug is a showstopper. |
Hi, the problem is, these fields don't actually exist in the model property section of the swagger spec. So there's no place to put them in the output (the annotations shouldn't have them). The spec is here: https://github.com/reverb/swagger-spec/blob/master/versions/1.2.md#529-property-object and as you see, those fields don't exist for models. |
Hi, will the annotations remove the unused fields in 1.3.8? |
Hi, we don't plan on removing them as they are not harming anything--we will make sure they're properly documented. @kongchen are you in the swagger 2.0 workgroup? |
Yes, I'm there.
|
@kongchen - To clarify, the javadocs were updated on version 1.3.7.
|
Thanks! |
The reader:
com.wordnik.swagger.jaxrs.JaxrsApiReader
readscom.wordnik.swagger.annotations.ApiModelProperty
tocom.wordnik.swagger.model.ModelProperty
, but the properties:notes
andaccess
are missing inModelProperty
The text was updated successfully, but these errors were encountered: