Skip to content
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

Upgrade code generation to swagger v3 to avoid pulling in deprecated code. #4224

Open
tkaitchuck opened this issue Sep 27, 2019 · 0 comments

Comments

@tkaitchuck
Copy link
Member

Problem description
Currently following the instructions in .../controller-api/src/main/swagger/README
Results in a class that does not properly compile:
https://github.com/pravega/pravega/blob/master/controller/src/main/java/io/pravega/controller/server/rest/generated/api/RFC3339DateFormat.java
Which runs into a warning because of: FasterXML/jackson-databind#1786
This was reported swagger-api/swagger-codegen#8705 and OpenAPITools/openapi-generator#1053

Problem location
Dependencies

Suggestions for an improvement
It may be resolved in swagger version 3. https://mvnrepository.com/artifact/io.swagger.core.v3
We should update our code to work with the new version of swagger and re-generate the relevant code.

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

No branches or pull requests

1 participant