Skip to content

Conversation

@ricardozanini
Copy link
Member

A few libraries from Swagger has CVEs and the upstream project has not upgraded yet. Once they do, we can remove the forced deps.

Signed-off-by: Ricardo Zanini <[email protected]>
Copy link
Collaborator

@fjtirado fjtirado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I now wondering if we should use swagger to parse the open api file at all (rhino?)

@ricardozanini
Copy link
Member Author

I now wondering if we should use swagger to parse the open api file at all (rhino?)

I was wondering the same. This thing brings A LOT OF dependencies. It's insane. Wondering if just jackson would do.

@ricardozanini ricardozanini merged commit 6bce0c6 into serverlessworkflow:main Dec 11, 2025
3 checks passed
@ricardozanini ricardozanini deleted the fix-cves branch December 11, 2025 21:02
@fjtirado
Copy link
Collaborator

Maybe we should try this one https://github.com/openapi-processor/openapi-parser/tree/master/openapi-parser, but it does not cover openapi 2.0 files.
We can use plain jackson, but we will need to generate the POJOS from the 2.0 and 3.0 schema.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants