Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use NonEmpty for arrays that specify minItems > 0 #102

Merged

Conversation

pbrisbin
Copy link
Contributor

@pbrisbin pbrisbin commented Mar 29, 2024

@pbrisbin pbrisbin changed the title pb/nonempty Use NonEmpty for arrays that specify minItems > 0 Mar 29, 2024
@pbrisbin

This comment was marked as resolved.

@joel-bach
Copy link
Member

Thank you a lot for this PR!

Good catch regarding the example code! I have not used/updated this in a long while as I use the golden tests more regularly. Especially for showing the change in the code generation, this would be the place to do it. Could you update the PR to change specifications/z_complex_self_made_example.yml instead of specifications/petstore.yaml? You can then update the golden tests with ./update_golden_and_example.sh. I noticed that currently the compilation check of the example was not included in the CI, so I updated this part in this PR: #103
With this you should be able to drop the test-update-commit.

Once this is cleaned up, I am happy to merge this PR!

@pbrisbin pbrisbin marked this pull request as ready for review April 1, 2024 12:59
@pbrisbin
Copy link
Contributor Author

pbrisbin commented Apr 1, 2024

Done and done. Thanks for the continued quick engagement!

@joel-bach joel-bach merged commit 9476e37 into Haskell-OpenAPI-Code-Generator:master Apr 2, 2024
9 checks passed
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