Closed RazvanFarte closed 4 months ago
Hi! Thanks for the report.
I'll take a look. The issue is most likely in the dry_validation_parser, where parsing through the contract definition AST causes an issue with additional configurations.
I'll notify you once i fix the issue.
@RazvanFarte I pushed a new version, 2.0.5, try updating the version in the project and see if it works now.
You can close the issue when you confirm it is fine.
@Jane-Terziev Thanks for the fast intervention. It works :) I tested by patching the code of dry_validation_parser on my project with your change.
Yup, I'll close it from my end. Thanks again! :)
Hi guys,
Not sure if this is something on your side, or on another Dry gem, but hope you could guide me to the proper repo to describe them the issue.
I have the following Contract:
When running
Dry::Swagger::DocumentationGenerator.new.from_validation(ResourceContract)
I get the error:
Commenting out the namespace configuration makes the Sweagger DocumentationGenerater run without issues and I get the schema as a Hash.