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

README and --help text appear out of date

Open Shaun1 opened this issue 3 years ago • 2 comments

It looks like several months ago the config parameters were completely revamped but this doesn't seem to be reflected in either the current readme or the text displayed when running oapi-codegen --help. It took running into an error message to realize that I need to add --old-config-style to support many of the properties currently documented, but I'm still not sure what the "new-style" config parameters look like.

Shaun1 avatar Aug 08 '22 15:08 Shaun1

Running into the same issue. I unfortunately find the README equally overcomplicated and cryptic.

princefishthrower avatar Aug 10 '22 00:08 princefishthrower

@Shaun1 - did you figure out how to get anything generated? I'm failing at every attempted combination.

princefishthrower avatar Aug 10 '22 00:08 princefishthrower

This was updated in #699, apologies!

@princefishthrower https://github.com/deepmap/oapi-codegen/blob/master/examples/petstore-expanded/gorilla/api/petstore.go#L1 may be of interest :)

jamietanna avatar Aug 16 '22 17:08 jamietanna