Code Monkey home page Code Monkey logo

Comments (4)

bnasslahsen avatar bnasslahsen commented on May 30, 2024

@bkielczewski,

Please Read: https://springdoc.org/v2/#migrating-from-springdoc-v1
Or https://springdoc.org/v2/#kotlin-support

from springdoc.github.io.

bkielczewski avatar bkielczewski commented on May 30, 2024

Ok, thanks, but https://springdoc.org/v2/#kotlin-support bit is confusing.

This bit exactly (my use case):

If you are using spring-webflux, you should combine the springdoc-openapi-kotlin module with springdoc-openapi-starter-webflux-ui.

from springdoc.github.io.

bkielczewski avatar bkielczewski commented on May 30, 2024

Also, springdoc-openapi-starter-common seems to be a dependency of springdoc-openapi-starter-webflux-ui, so that should be ok for Kotlin support. However, when I'm using suspend function on rest endpoint I get documentation for $completion parameter there. Should I file a bug report for regression (wasn't like that in v1)?

from springdoc.github.io.

bnasslahsen avatar bnasslahsen commented on May 30, 2024

@bkielczewski,

I understand that your point is related to documentation.
I have updated it.

For the supend issue report, you can see for example this test: https://github.com/springdoc/springdoc-openapi/blob/2.x/springdoc-openapi-tests/springdoc-openapi-kotlin-tests/src/test/kotlin/test/org/springdoc/api/app3/SystemStatusController.kt

The openAPI spec is generated just correctly.

If you want to report an issue, just make sure you provide a Minimal, Reproducible Example - with HelloController that reproduces the problem

from springdoc.github.io.

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.