Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 530 Bytes

File metadata and controls

17 lines (12 loc) · 530 Bytes

The open-api layer code is generated using this library. Generated code (src/open-api/generated) must not be modified directly.

Updating generated code

  1. Copy OpenApi spec data from up to date cluster ({cluster_url}/api-docs)
  2. Paste to src/open-api/spec/spec.json
  3. Prettify spec.json, run command: (todo: should be removed after OpenApi spec fix)
node src/open-api/spec/fix-additional-properties.ts
  1. run command:
npm run generate-openapi-layer