| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Looks interesting - I'll get a review shortly. I wasn't aware of anyone using the codegen functionality, without using the binary as-is, cool! I notice that GitHub Actions hasn't triggered on this PR, which is odd 🤔 |
Sorry, something went wrong.
To allow consumers using oapi-codegen as a library.
| Back | FazBrowse Home | New Git URL |
We use oapi-codegen as a library.
E.g. we use public functions (e.g. codegen.OperationDefinitions()) inside our tool to make our specific additional code generation logic.
Currently the globalState.spec variable is used in refPathToGoType() and is set only in the Generate() function, so we have a panic when we use public functions without the Generate() invocation.
I suppose it is nice to have an ability to set the globalState.spec variable without the Generate() function invocation.