camel-karavan icon indicating copy to clipboard operation
camel-karavan copied to clipboard

Upload OpenAPI spec fails

Open Premcnathan opened this issue 1 year ago • 3 comments

Issue Uploading OpenAPI spec is not rendering routes on karavan.space.

Steps to reproduce Upload testopneapi.json to "Upload OpenAPI" section of karavan. image

Error image

Expected Rest DSL routes and wrappers with direct endpoint should be created.

Premcnathan avatar Mar 05 '24 09:03 Premcnathan

Yes I had karavan crash as well

davsclaus avatar Mar 09 '24 15:03 davsclaus

Can you try with other json api files to see if its general or maybe it works with some simpler apis. This can help us track down what is the problem

davsclaus avatar Mar 09 '24 15:03 davsclaus

@davsclaus : I could make it work by creating a dummy route in karavan.space and then upload the same OpenAPI spec. Looks like a bug that is asking for a non-empty route.

Premcnathan avatar Mar 11 '24 06:03 Premcnathan