papsign / Ktor-OpenAPI-Generator

Ktor OpenAPI/Swagger 3 Generator
Apache License 2.0
243 stars 42 forks source link

Ktor 3.0.0 #136

Open Huholoman opened 3 weeks ago

Huholoman commented 3 weeks ago

Hello there, is Ktor-OpenAPI-Generator compatible with Ktor 3.0.0? I tried to make this library working on my new project with Ktor 3.0.0 and it looks like it does not generate the schema. It throws an exception when I want to access my api.json endpoint that api was not defined, or smth.

Cheers

darkxanter commented 3 weeks ago

You can use my fork https://github.com/darkxanter/ktor-openapi-generator

RighteousBanker commented 3 weeks ago

@darkxanter I think it would be best for you to make a PR to this project too if the original authors are active

RighteousBanker commented 3 weeks ago

I found this one that works with both Ktor 3 and kotlinx serialization

https://github.com/SMILEY4/ktor-swagger-ui