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

invalid OpenAPI specs file #1218

Closed samar-elsayed closed 7 months ago

samar-elsayed commented 7 months ago

I am trying to create OpenAPI spec file for the rest endpoint created in the project via Karavan VSCode (latest version) and here for the Inquiry Path I have created 2 params

image

image

and both are required but as shown below when I check the doc path I find only one param of them is mentioned and it doesn't look correct (there is example value for clientdate that doesn't show up in the file )

image

the OpenAPI file : image

when I check that file inside swagger editor:

image

mgubaidullin commented 7 months ago

Karavan and Camel are not tools to create OpenAPI specs. You can create and run a REST service but it will not provide full OpenAPI spec.