lburgazzoli edited a comment on issue #366: URL: https://github.com/apache/camel-k-runtime/issues/366#issuecomment-660606629
I've hacked something but now the issue is how to integrate it with the yaml dsl schema as the generated json schema is quite big (~ 41700 lines) * camel-yaml-dsl.json: **3761** lines * camel-yaml-endpoint.json: **41710** lines I see two options: 1. **to embedding it**, so the resulting scheme will be ~ 42000 lines but don't know if that could cause any degradation to the yaml language server 2. **to reference it** from the yaml dsl schema, something like ```json "aws2-s3": { "$ref": "https://github.com/apache/camel-k-runtime/blob/master/camel-k-loader-yaml/camel-k-loader-yaml/src/generated/resources/camel-yaml-dsl.json#/definitions/aws2-s3", }, ``` this has the additional problem that we need to deal with versions so we probably need to reference the right branch which makes thing a little more complex. I'd personally go for option 1 but we may need some hint from @lhein @apupier ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org