Giter Club home page Giter Club logo

Comments (3)

thomaska avatar thomaska commented on June 18, 2024 2

I think the reason for this is that play 2.7 uses a later version of com.fasterxml.jackson.core:jackson-databind (namely 2.9.8) with which swagger 1.6.x is not compatible with (it uses 2.8.6).
Overriding the dependency in sbt worked for me (although I haven't tested it extensively).
This means I added this in my build.sbt file

dependencyOverrides += "com.fasterxml.jackson.core" % "jackson-databind" % "2.8.6"

This as a workaround, until swagger gets updated, which would be the proper solution.

from swagger-play.

sitwaheed9 avatar sitwaheed9 commented on June 18, 2024

please update the swagger for play 2.7

from swagger-play.

youqian avatar youqian commented on June 18, 2024

Will you guys release a version for playframework 2.7 soon?

For now I added jackson-module-scala-2.9.8 together with swagger-play deps.
val swagger = Seq(
"io.swagger" %% "swagger-play2" % "1.6.0",
"io.swagger" % "swagger-core" % "1.5.22",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.9.8",
"org.webjars" % "swagger-ui" % "3.13.0"
)

from swagger-play.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.