openapi-client-axios icon indicating copy to clipboard operation
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?

Open Bryant-Yang opened this issue 2 years ago • 1 comments

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.

Bryant-Yang avatar Sep 24 '22 12:09 Bryant-Yang

found another repository in typescript: openapi-typescript-codegen

Bryant-Yang avatar Oct 12 '22 01:10 Bryant-Yang