Skip to content

[Jaxrs-cxf] Update to swagger-core-version 1.5.12 causes compile errors #4924

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

Closed
2 tasks done
jfiala opened this issue Mar 5, 2017 · 3 comments
Closed
2 tasks done

Comments

@jfiala
Copy link
Contributor

jfiala commented Mar 5, 2017

Description

The update to swagger-core-version 1.5.12 in pom.mustache for CXF:
1.5.12

causes compile errors for newly generated samples.

Swagger-codegen version

2.2.2

Swagger declaration file content or url

petstore-with-fake-endpoints-models-for-testing.yaml

Command line used for generation

see jaxrs-cxf-petstore-server.sh

Steps to reproduce

remove pom.xml before generating to samples/server/petstore/jaxrs-cxf

Suggest a Fix

The dependencies of swagger-core 1.5.12 have joda and jackson dependencies removed, so they need to be added additionally.

Applies to:

@jfiala
Copy link
Contributor Author

jfiala commented Mar 5, 2017

@fehguy commit 894f272 broke this, pls make sure to delete pom.xml before updating the samples or upvote my suggestion #4087 to add unittests to make sure samples are not out of date.

@fehguy
Copy link
Contributor

fehguy commented Mar 5, 2017

thanks @jfiala

jfiala added a commit to jfiala/swagger-codegen that referenced this issue Mar 5, 2017
fehguy added a commit that referenced this issue Mar 5, 2017
[Jaxrs-cxf] Fix compile errors after update of swagger-core / add jackson dependencies to pom #4924
jfiala added a commit to jfiala/swagger-codegen that referenced this issue Mar 12, 2017
pgrm added a commit to apaleo/swagger-codegen that referenced this issue Mar 19, 2017
* [Swift] Detect file type in Swift codegen

* Fix Issue swagger-api#5063 (deleting wrong sample files) (swagger-api#5064)

* Update samples for springboot, spring-delegate, spring-delegate-j8.

* Issue swagger-api#5063: delete samples in the correct directory.

* fix link to Cummins

* Update wordnik.yaml

* Update wordnik.yaml

* add https://github.com/christopheradams/elixir_style_guide

* add https://github.com/inaka/erlang_guidelines

* [Haskell] Fix broken client/server compilation errors (swagger-api#5097)

* Remove dead legacy code

* Update cosmetics according to Haskell standard practices

* Fix failing pattern matching for lookupEither

* Bump to latest dependencies without any breaking changes

* Remove duplicate instance declarations already existing in Servant.API.Verbs

* Fix double Java/Haskell escapement bug

* Re-generate Petstore sample client/server

* Add Selective Generation support to the Maven plugin. (swagger-api#5036)

* Updated maven plugin to allow for selective generation

* Documentation of Selective generation options.

* Update petstore samples for scala client. (swagger-api#5092)

* Update petstore samples for scala client.

* Fix missing dependency problem.

* Fix sample script to set the correct artifact ID in the generated POM (swagger-api#5094)

* Update samples for akka.

* Have akka-scala-petstore scripts set the correct artifact names

* Update akka-scala samples again.

* Update samples for C#/SwaggerClientWithPropertyChanged. (swagger-api#5095)

* Swift3 enum: number variable names fix (swagger-api#5060)

* Swift3 enum: number variable names fix

Swift3 generator: added 'number' prefix to enum variable names that start with a number

* Fixed Swift3 enum variable names starting with number (prefixed with '_') and added test cases

* Swift3 enum var names: made sure to keep the next word after a number in lower case

* add jackson dependencies to pom for cxf-client swagger-api#4924 (swagger-api#5032)

* add petstore sample for jaxrs-cxf-client, update travis ci (swagger-api#5111)

* fix path with {{{ .. }}} in c# api mustache file (swagger-api#5112)

* Updated feign library to use latest version of OpenFeign and Jackson. (swagger-api#5114)
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this issue Mar 28, 2017
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this issue Mar 28, 2017
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this issue Mar 28, 2017
[Jaxrs-cxf] Fix compile errors after update of swagger-core / add jackson dependencies to pom swagger-api#4924
spr3nk3ls pushed a commit to spr3nk3ls/swagger-codegen that referenced this issue Mar 28, 2017
@jfiala
Copy link
Contributor Author

jfiala commented Sep 17, 2017

The pom.xml for language jaxrs-cxf is now updated to 1.5.15 and compliles OK.

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

No branches or pull requests

3 participants