Skip to content

Conversation

damiankaplon
Copy link

The test from the PR fails.

However, after changing the model resolver to generate open api 3.0 with ⬇️ works as expected

final ModelResolver modelResolver = new ModelResolver(mapper()).openapi31(true);

@damiankaplon
Copy link
Author

@frantuma Could you please have a look? Here is the issue. I created the test on my own but the fix was generated with agentic 🤖

@ewaostrowska
Copy link
Contributor

Hi! Thanks for preparing the test to illustrate the issue!
The proposed solution helped to understand what the problem is, however it did not fix the issue entirely because the Enum properties other than $ref were not propagated to the Enum schema. For this reason I have created another PR here

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.

3 participants