apache / camel-karavan

Apache Camel Karavan a Low-code Data Integration Platform
https://camel.apache.org
Apache License 2.0
452 stars 156 forks source link

Upload OpenAPI spec fails #1163

Closed Premcnathan closed 8 months ago

Premcnathan commented 8 months ago

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.

davsclaus commented 8 months ago

Yes I had karavan crash as well

davsclaus commented 8 months ago

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

Premcnathan commented 8 months ago

@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.