Sargon API Spec
How to update the spec
- Edit
./specs/specification.yml
to update the api spec. - Increment patch version in
./package.json
and./configuration-node.json
. - Commit the changes.
Bitbucket build pipelines will generate API client and publish it to https://www.npmjs.com/package/@sargon/api-client
Reference
- https://github.com/OpenAPITools/openapi-generator
-
./templates-javascript
custom templates are based on https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/typescript-fetch