openapi-client-axios
openapi-client-axios copied to clipboard
[question] Is it possible to generate js client code to avoid accessing openapi doc which should not published on production for safety reasons?
First thanks to this wonderful tool, I've tested it in my vue project, and get rid of lots of boilerplate js codes used to request api with axios.
The only thing I'm worried about is the openapi doc must be published to browser for doing runtime request, It doesn't feel safe to publish all apis on production.
found another repository in typescript: openapi-typescript-codegen