Skip to content

Conversation

@andreas-umbricht
Copy link
Contributor

@andreas-umbricht andreas-umbricht commented Jun 30, 2025

Description

Upon PR #21315, a feature was included, so that code is generated of to check that in a list of primitive types, the items in that list are in fact a primitive. Now I discovered an edge case:

Current behavior:

A list of a list currently also generate the code, which then leads to false assertions.

Excpected behavior:

The code added in the PR is not being generated for a list of a list.

I do not really understand why a list is considered a primitive type here, but I simply had to add another if statement to check for such a case.

@dr4ke616 @karismann @Zomzog @andrewemery @4brunu @stefankoppier @e5l

@4brunu
Copy link
Contributor

4brunu commented Jul 1, 2025

Hi @andreas-umbricht did you tested this locally? Thanks

@wing328
Copy link
Member

wing328 commented Jul 16, 2025

since it's a follow pr to another pr you contributed earlier, we can definitely give it another try

@wing328 wing328 merged commit ad53684 into OpenAPITools:master Jul 16, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants