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

refactor: use generic function sliceContains

Open alexandear opened this issue 2 years ago • 1 comments

This PR refactors the code to utilize the generic function sliceContains from the pkg/codegen package.

Upon migration to Go 1.21, sliceContains can be substituted with slices.Contains.

alexandear avatar Jan 27 '24 19:01 alexandear

Hi, appreciate you've worked on this and it's not yet in - please bear with, we're over-stretched and are trying to prioritise higher priority pieces (when we get time to work on the project).

Once we get through the backlog for the next release we'll revisit this

jamietanna avatar Oct 14 '24 13:10 jamietanna

Closing due to inactivity.

alexandear avatar Jun 16 '25 12:06 alexandear