oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

Arrays should use concrete types, not aliases.

Open jkj opened this issue 3 years ago • 2 comments

https://github.com/deepmap/oapi-codegen/pull/1246 describes the problem in detail and has a 1-line fix. However the whole issue of when to use aliases vs concrete types could do with some consideration. What is the best place to have such a discussion?

jkj avatar Sep 08 '23 12:09 jkj

@deepmap-marcinr got any thoughts?

jamietanna avatar Sep 11 '23 09:09 jamietanna

This was addressed by PR #1246 — arrays now generate concrete types rather than type aliases, allowing method definitions on array types.

mromaszewicz avatar Feb 07 '26 15:02 mromaszewicz