npm -g install js-beautifywhich js-beautifythen take the output and copy itexport JS_POST_PROCESS_FILE=<copied-value from 2>npm -g install prettierwhich prettierthen take the output and copy itexport TS_POST_PROCESS_FILE="<copied-value from 5> --write"npx @openapitools/openapi-generator-cli generate -i openapi.json -g typescript-axios -c ./openapi-generator.yamlnpm addusernpm install -g typescriptnpm publish --access public
Last active
March 28, 2024 21:02
-
-
Save skeptrunedev/961050e9ccb28409a2fe09411afff461 to your computer and use it in GitHub Desktop.
OpenAPI JS Generation Steps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment