Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

lwander
Copy link
Contributor

@lwander lwander commented Jul 10, 2017

The generated javadoc comments in the models packages contain several
< characters which the java8 doclint plugin rejects. Note - this means if you
build with java8 you will not have javadocs. Another solution would be
to fix the stems for the comments in that package, but I'm not sure how
to go about that.

The generated javadoc comments in the `models` packages contain several
`<` characters which the java8 doclint plugin rejects. Note - this means if you
build with java8 you will _not_ have javadocs. Another solution would be
to fix the stems for the comments in that package, but I'm not sure how
to go about that.
@lwander
Copy link
Contributor Author

lwander commented Jul 10, 2017

@mbohlool @brendanburns

@mbohlool
Copy link
Contributor

mbohlool commented Jul 10, 2017

Does it worth fixing templates in swagger-codegen?

@lwander
Copy link
Contributor Author

lwander commented Jul 11, 2017

The comments look quite k8s specific, and it looks like swagger correctly escapes html characters in other places for the javadocs. I'll look into where the bad characters come from.

@brendandburns
Copy link
Contributor

LGTM, fixing where they come from makes sense, but let's get this building now, I had someone run into this issue...

@brendandburns brendandburns merged commit 1ed91b7 into kubernetes-client:master Jul 12, 2017
@lwander lwander deleted the ignore-linter-on-java-8 branch July 12, 2017 14:58
@lwander
Copy link
Contributor Author

lwander commented Jul 12, 2017

Here is the proper fix: swagger-api/swagger-codegen#6040

@mbohlool
Copy link
Contributor

Can you keep an open issue for this to port it back and revert this PR when your proper fix merged?

@lwander
Copy link
Contributor Author

lwander commented Jul 12, 2017

Sure thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants