You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is repository with swagger generated SDK for Aspose.Barcode.Cloud service and code generating scripts. All sdk are submodules of this repo and located in `submodules` directory. Swagger specification of service API is located in `spec/aspose-barcode-cloud.json` file. Custom mustashe templates are located in `codegen/Templates` dir. Original templates for all languages are in <https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/resources/> github. Sripts for generating SDK `codegen` directory. Some post processing are in Makefiles in all submodules repo.
4
+
5
+
## Common requirements for making changes in SDK code
6
+
7
+
0. Don't commit or push in repo by youreself. But you can pull and stage in git.
8
+
1. To run any scripts, use WSL if you're on Windows.
9
+
2. After making changes run tests with `make test` or similar comand in Makefile in SDK submodule repo.
10
+
3. Add changes to mustache templates after changes in SDK code are made. If you changed some code and template for it not in codegen/Templates dir. Download this template and made changes in local copy in codegen/Templates dir.
11
+
4. Enshure that generated code is the same as you new code. For it:
12
+
4.1 Stage your changes in sdk submodule repo.
13
+
4.2 Run `make <skd-name>` command in main repo. See Makefile for it.
14
+
4.3 After generating script are end it work. Enshure there is no unstaged changes in sdk submodule.
15
+
4.4 Fix templates if generated code are not the same as you new code.
Copy file name to clipboardExpand all lines: codegen/Templates/nodejs/docs/tsconfig.mustache
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,10 @@ This repository contains Aspose.BarCode Cloud SDK for Node.js source code.
27
27
28
28
To use these SDKs, you will need Client Id and Client Secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/applications) (free registration in Aspose Cloud is required for this).
29
29
30
+
## Requirements
31
+
32
+
- Node.js 18 or later (native `fetch` required).
33
+
30
34
## How to use the SDK
31
35
32
36
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get [nmpjs distribution](https://www.npmjs.com/package/aspose-barcode-cloud-node) (recommended).
0 commit comments