Skip to content

Conversation

@axman6
Copy link

@axman6 axman6 commented Jun 10, 2025

Fixes #93.

Only sets the oas3::Schema's required field if there are required values. Having an empty required field is against the openapi spec (and causes hundreds of warnings in our API's autogenerated docs). I feel like there's possibly a more elegant way to do do this in C++ but it's not my go-to language, so feel free to suggest something cleaner.

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.

Don't add empty required properties information in DTO fields

1 participant