Rafael Diaz
10/05/2025, 5:36 AMRafael Diaz
10/05/2025, 5:36 AMFailed to load API definition.
Fetch error
Internal Server Error /api/openapi.json
I've tried Jackson at first, and now Kotlinx serialization to handle OpenAPI v3, but neither solved the issue.
Note I Kotlinx serialization for the entire server/shared/client modules.
val api = contract {
renderer = OpenApi3(ApiInfo("Example", "1.0.0"), Jackson)
descriptionPath = "/openapi.json"
routes += exampleController.routes
}
Is there some way to deal with this?MrNiamh
10/05/2025, 9:17 AMreceivingdave
10/05/2025, 3:52 PMRafael Diaz
10/05/2025, 4:45 PM