ng2-rest-swagger-generator 18.0.16 → 18.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,46 +1,46 @@
1
- ## ng2-rest-swagger-generator ##
2
-
3
- Generate services for Angular2+ from your swagger.json files.
4
-
5
- ## Instalation
6
-
7
- npm install ng2-rest-swagger-generator -g
8
-
9
- ## Usage
10
-
11
- ng2-rest-swagger-generateor \
12
- --json ~/api_swagger.json \ # local swagger json file or
13
- --json http://api.com/swagger.json \ # external link to swagger json
14
- --base my_api_from_swagger_json
15
-
16
- It will generate **my_api_from_swagger_json** folder with angular2_ module.
17
-
18
- Your can alsow ommit **--base** param, default out folder is "**api**".
19
-
20
- ## Import
21
-
22
- To import generated module in **app.module** of you angular app do this:
23
- ```ts
24
- import { Ng2RestGenModule } from './api';
25
- ...
26
- imports: [ Ng2RestGenModule ],
27
- ...
28
- ```
29
- ## Api url modyfication
30
-
31
- It you wanna **change your base paths** just use property **enpointUrl** in Ng2RestGenModule module :
32
-
33
- ```ts
34
- if(enviroment.production) {
35
- Ng2RestGenModule.enpointUrls.myresource.myhost = 'https://myproductionhost.com'
36
- }
37
- ```
38
-
39
- ## Parameters description
40
-
41
- | param | description |
42
- | --- | --- |
43
- | --json | online links or local paths for swagger.json files |
44
- | --base | output module folder |
45
- | -s | if https protocole enable (one for all json-s) |
46
-
1
+ ## ng2-rest-swagger-generator ##
2
+
3
+ Generate services for Angular2+ from your swagger.json files.
4
+
5
+ ## Instalation
6
+
7
+ npm install ng2-rest-swagger-generator -g
8
+
9
+ ## Usage
10
+
11
+ ng2-rest-swagger-generateor \
12
+ --json ~/api_swagger.json \ # local swagger json file or
13
+ --json http://api.com/swagger.json \ # external link to swagger json
14
+ --base my_api_from_swagger_json
15
+
16
+ It will generate **my_api_from_swagger_json** folder with angular2_ module.
17
+
18
+ Your can alsow ommit **--base** param, default out folder is "**api**".
19
+
20
+ ## Import
21
+
22
+ To import generated module in **app.module** of you angular app do this:
23
+ ```ts
24
+ import { Ng2RestGenModule } from './api';
25
+ ...
26
+ imports: [ Ng2RestGenModule ],
27
+ ...
28
+ ```
29
+ ## Api url modyfication
30
+
31
+ It you wanna **change your base paths** just use property **enpointUrl** in Ng2RestGenModule module :
32
+
33
+ ```ts
34
+ if(enviroment.production) {
35
+ Ng2RestGenModule.enpointUrls.myresource.myhost = 'https://myproductionhost.com'
36
+ }
37
+ ```
38
+
39
+ ## Parameters description
40
+
41
+ | param | description |
42
+ | --- | --- |
43
+ | --json | online links or local paths for swagger.json files |
44
+ | --base | output module folder |
45
+ | -s | if https protocole enable (one for all json-s) |
46
+
@@ -1,6 +1,6 @@
1
1
  THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
2
2
 
3
- Assets from this folder are being shipped with this npm package (ng2-rest-swagger-generator@18.0.16)
3
+ Assets from this folder are being shipped with this npm package (ng2-rest-swagger-generator@18.0.17)
4
4
  created from this project.
5
5
 
6
6
  THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
@@ -1,10 +1,10 @@
1
- #!/usr/bin/env node
2
- var path = require('path')
3
- var fs = require('fs')
4
- var path = {
5
- dist: path.join(__dirname, '../dist/start.js'),
6
- bundle: path.join(__dirname, '../start.js')
7
- }
8
- var p = fs.existsSync(path.dist) ? path.dist : path.bundle;
9
- var start = require(p).start;
10
- start();
1
+ #!/usr/bin/env node
2
+ var path = require('path')
3
+ var fs = require('fs')
4
+ var path = {
5
+ dist: path.join(__dirname, '../dist/start.js'),
6
+ bundle: path.join(__dirname, '../start.js')
7
+ }
8
+ var p = fs.existsSync(path.dist) ? path.dist : path.bundle;
9
+ var start = require(p).start;
10
+ start();
package/browser/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/client/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
package/package.json CHANGED
@@ -51,7 +51,7 @@
51
51
  "workerPlugins": {}
52
52
  },
53
53
  "name": "ng2-rest-swagger-generator",
54
- "version": "18.0.16",
54
+ "version": "18.0.17",
55
55
  "description": "Generate Angualr 2 Service from swagger json",
56
56
  "directories": {
57
57
  "doc": "docs"
@@ -79,13 +79,13 @@
79
79
  "homepage": "https://github.com/darekf77/ng2-rest-swagger-generator#readme",
80
80
  "dependencies": {
81
81
  "chalk": "2.3.2",
82
- "tnp-helpers": "~18.0.19",
82
+ "tnp-helpers": "~18.0.20",
83
83
  "tslint": "6.1.3",
84
84
  "typescript-formatter": "~7.2.2"
85
85
  },
86
86
  "devDependencies": {},
87
87
  "license": "MIT",
88
88
  "private": false,
89
- "lastBuildTagHash": "2766e7b9c0be1732fae58b40ba8c8f25d27b6545",
90
- "main": "dist/app.electron.js"
89
+ "lastBuildTagHash": "e28447374978abe07239e529b0e575590fc9803a",
90
+ "main": "karma.conf.js"
91
91
  }
package/taon.jsonc CHANGED
@@ -1,45 +1,45 @@
1
- {
2
- "resources": ["README.md", "screen.png"],
3
-
4
- "overrided": {
5
- "ignoreDepsPattern": [],
6
- "includeAsDev": [],
7
- "includeOnly": ["tnp-helpers", "chalk", "tslint", "typescript-formatter"],
8
- "dependencies": {},
9
- "linkedFolders": [],
10
- "npmFixes": []
11
- },
12
-
13
- "smartContainerBuildTarget": "",
14
- "linkedRepos": [],
15
-
16
- "libReleaseOptions": {
17
- "nodts": false,
18
- "obscure": false,
19
- "ugly": false,
20
- "includeNodeModules": false,
21
- "cliBuildNoDts": false,
22
- "cliBuildObscure": false,
23
- "cliBuildIncludeNodeModules": false,
24
- "cliBuildUglify": false
25
- },
26
-
27
- "smartContainerTarget": "",
28
- "type": "isomorphic-lib",
29
- "version": "v18",
30
- "isCommandLineToolOnly": false,
31
- "license": "MIT",
32
- "private": false,
33
-
34
- "scripts": {
35
- "test": "mocha --require ts-node/register src/**/*.spec.ts",
36
- "test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
37
- },
38
-
39
- "description": "Generate Angualr 2 Service from swagger json",
40
- "author": "Dariusz Filipiak",
41
- "homepage": "https://github.com/darekf77/ng2-rest-swagger-generator#readme",
42
- "main": "karma.conf.js",
43
- "keywords": ["ng2-rest", "docs", "documentation"],
44
- "workerPlugins": {}
1
+ {
2
+ "resources": ["README.md", "screen.png"],
3
+
4
+ "overrided": {
5
+ "ignoreDepsPattern": [],
6
+ "includeAsDev": [],
7
+ "includeOnly": ["tnp-helpers", "chalk", "tslint", "typescript-formatter"],
8
+ "dependencies": {},
9
+ "linkedFolders": [],
10
+ "npmFixes": []
11
+ },
12
+
13
+ "smartContainerBuildTarget": "",
14
+ "linkedRepos": [],
15
+
16
+ "libReleaseOptions": {
17
+ "nodts": false,
18
+ "obscure": false,
19
+ "ugly": false,
20
+ "includeNodeModules": false,
21
+ "cliBuildNoDts": false,
22
+ "cliBuildObscure": false,
23
+ "cliBuildIncludeNodeModules": false,
24
+ "cliBuildUglify": false
25
+ },
26
+
27
+ "smartContainerTarget": "",
28
+ "type": "isomorphic-lib",
29
+ "version": "v18",
30
+ "isCommandLineToolOnly": false,
31
+ "license": "MIT",
32
+ "private": false,
33
+
34
+ "scripts": {
35
+ "test": "mocha --require ts-node/register src/**/*.spec.ts",
36
+ "test:watch": "mocha --compilers ts-node/register src/**/*.spec.ts --watch"
37
+ },
38
+
39
+ "description": "Generate Angualr 2 Service from swagger json",
40
+ "author": "Dariusz Filipiak",
41
+ "homepage": "https://github.com/darekf77/ng2-rest-swagger-generator#readme",
42
+ "main": "karma.conf.js",
43
+ "keywords": ["ng2-rest", "docs", "documentation"],
44
+ "workerPlugins": {}
45
45
  }
@@ -55,7 +55,7 @@
55
55
  "workerPlugins": {}
56
56
  },
57
57
  "name": "ng2-rest-swagger-generator",
58
- "version": "18.0.16",
58
+ "version": "18.0.17",
59
59
  "description": "Generate Angualr 2 Service from swagger json",
60
60
  "directories": {
61
61
  "doc": "docs"
@@ -83,7 +83,7 @@
83
83
  "homepage": "https://github.com/darekf77/ng2-rest-swagger-generator#readme",
84
84
  "dependencies": {
85
85
  "chalk": "2.3.2",
86
- "tnp-helpers": "~18.0.19",
86
+ "tnp-helpers": "~18.0.20",
87
87
  "tslint": "6.1.3",
88
88
  "typescript-formatter": "~7.2.2"
89
89
  },
@@ -250,14 +250,14 @@
250
250
  "image-focus": "1.2.1",
251
251
  "immer": "10.0.2",
252
252
  "immutable": "4.3.7",
253
- "incremental-compiler": "~18.0.20",
253
+ "incremental-compiler": "~18.0.21",
254
254
  "inquirer": "7.3.3",
255
255
  "inquirer-autocomplete-prompt": "1.4.0",
256
256
  "inquirer-autocomplete-standalone": "0.8.1",
257
257
  "inquirer-select-pro": "1.0.0-alpha.7",
258
258
  "inquirer-toggle": "1.0.1",
259
259
  "is-elevated": "3.0.0",
260
- "isomorphic-region-loader": "~18.0.19",
260
+ "isomorphic-region-loader": "~18.0.20",
261
261
  "istanbul-instrumenter-loader": "3.0.1",
262
262
  "jest": "29.7.0",
263
263
  "jest-date-mock": "1.0.10",
@@ -268,8 +268,8 @@
268
268
  "joi": "17.13.3",
269
269
  "jscodeshift": "0.6.3",
270
270
  "json-stringify-safe": "5.0.1",
271
- "json10": "~18.0.19",
272
- "json10-writer": "~18.0.19",
271
+ "json10": "~18.0.20",
272
+ "json10-writer": "~18.0.20",
273
273
  "json5": "2.2.3",
274
274
  "json5-writer": "0.2.0",
275
275
  "jszip": "3.10.1",
@@ -278,9 +278,9 @@
278
278
  "localforage": "1.10.0",
279
279
  "lockfile": "1.0.4",
280
280
  "lodash": "4.17.21",
281
- "lodash-walk-object": "~18.0.19",
281
+ "lodash-walk-object": "~18.0.20",
282
282
  "lowdb": "7.0.1",
283
- "magic-renamer": "~18.0.19",
283
+ "magic-renamer": "~18.0.20",
284
284
  "material-design-icons": "3.0.1",
285
285
  "method-override": "2.3.10",
286
286
  "minimist": "1.2.8",
@@ -291,11 +291,11 @@
291
291
  "ng-in-viewport": "16.1.0",
292
292
  "ng-lock": "18.0.1",
293
293
  "ng-packagr": "18.1.0",
294
- "ng-talkback": "~18.0.18",
295
- "ng2-logger": "~18.0.21",
294
+ "ng-talkback": "~18.0.19",
295
+ "ng2-logger": "~18.0.22",
296
296
  "ng2-pdfjs-viewer": "18.0.0",
297
- "ng2-rest": "~18.0.19",
298
- "ng2-rest-swagger-generator": "18.0.15",
297
+ "ng2-rest": "~18.0.20",
298
+ "ng2-rest-swagger-generator": "18.0.16",
299
299
  "ngx-ace-wrapper": "17.0.0",
300
300
  "ngx-editor": "17.5.4",
301
301
  "ngx-highlightjs": "12.0.0",
@@ -309,7 +309,7 @@
309
309
  "ngx-scrolltop": "18.0.0",
310
310
  "ngx-store": "3.1.1",
311
311
  "ngx-typed-js": "2.1.1",
312
- "node-cli-tester": "~18.0.17",
312
+ "node-cli-tester": "~18.0.18",
313
313
  "node-localstorage": "2.1.6",
314
314
  "node-notifier": "10.0.1",
315
315
  "node-polyfill-webpack-plugin": "2.0.1",
@@ -340,7 +340,7 @@
340
340
  "q": "1.5.1",
341
341
  "rallax.js": "2.0.4",
342
342
  "randomcolor": "0.5.3",
343
- "record-replay-req-res-scenario": "~18.0.17",
343
+ "record-replay-req-res-scenario": "~18.0.18",
344
344
  "reflect-metadata": "0.2.2",
345
345
  "rimraf": "2.6.2",
346
346
  "rxjs": "~7.8.1",
@@ -354,22 +354,22 @@
354
354
  "sql-template-strings": "2.2.2",
355
355
  "sql-template-tag": "5.2.1",
356
356
  "sql.js": "1.8.0",
357
- "static-columns": "~18.0.19",
357
+ "static-columns": "~18.0.20",
358
358
  "string-similarity": "4.0.4",
359
359
  "sudo-block": "3.0.0",
360
360
  "supertest": "7.0.0",
361
361
  "sweetalert2": "11.7.32",
362
362
  "systeminformation": "3.45.7",
363
363
  "taon": "^18",
364
- "taon-storage": "18.0.27",
365
- "taon-type-sql": "18.0.18",
366
- "taon-typeorm": "18.0.17",
364
+ "taon-storage": "18.0.28",
365
+ "taon-type-sql": "18.0.19",
366
+ "taon-typeorm": "18.0.18",
367
367
  "task.js": "0.1.5",
368
368
  "threads": "1.7.0",
369
- "tnp": "~18.0.23",
370
- "tnp-config": "~18.0.21",
371
- "tnp-core": "~18.0.46",
372
- "tnp-models": "~18.0.20",
369
+ "tnp": "~18.0.24",
370
+ "tnp-config": "~18.0.22",
371
+ "tnp-core": "~18.0.47",
372
+ "tnp-models": "~18.0.21",
373
373
  "ts-debug": "1.3.0",
374
374
  "ts-json-schema-generator": "2.3.0-next.5",
375
375
  "ts-loader": "2.3.1",
@@ -380,13 +380,13 @@
380
380
  "typedoc": "0.26.5",
381
381
  "typedoc-plugin-markdown": "4.2.3",
382
382
  "typescript": "~5.5.4",
383
- "typescript-class-helpers": "~18.0.20",
383
+ "typescript-class-helpers": "~18.0.21",
384
384
  "typescript-string-enums": "~1.0.0",
385
385
  "underscore": "1.13.7",
386
386
  "uuid": "10.0.0",
387
387
  "validator": "13.5.2",
388
388
  "video.js": "8.3.0",
389
- "vpn-split": "~18.0.17",
389
+ "vpn-split": "~18.0.18",
390
390
  "vscode": "1.1.37",
391
391
  "wait-on": "8.0.1",
392
392
  "watch": "1.0.2",
@@ -398,18 +398,18 @@
398
398
  },
399
399
  "license": "MIT",
400
400
  "private": false,
401
- "lastBuildTagHash": "2766e7b9c0be1732fae58b40ba8c8f25d27b6545",
401
+ "lastBuildTagHash": "e28447374978abe07239e529b0e575590fc9803a",
402
402
  "main": "dist/app.electron.js"
403
403
  },
404
404
  "build": {
405
- "number": 255,
406
- "date": "2025-01-15T02:39:34.000Z",
407
- "hash": "e28447374978abe07239e529b0e575590fc9803a"
405
+ "number": 256,
406
+ "date": "2025-01-21T20:58:18.000Z",
407
+ "hash": "34012d9e011242b7c56883bf5d9029296a42575e"
408
408
  },
409
409
  "currentProjectName": "ng2-rest-swagger-generator",
410
410
  "currentProjectGenericName": "ng2-rest-swagger-generator",
411
411
  "currentProjectType": "isomorphic-lib",
412
- "currentFrameworkVersion": "18.0.23",
412
+ "currentFrameworkVersion": "18.0.24",
413
413
  "isStandaloneProject": true,
414
414
  "isSmartContainer": false,
415
415
  "pathesTsconfig": "\"paths\": {\"ng2-rest-swagger-generator\":[\"./src/lib\"],\"ng2-rest-swagger-generator/*\":[\"./src/lib/*\"]},",
package/websql/README.md CHANGED
@@ -1,24 +1,24 @@
1
- # MyLib
2
-
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
-
5
- ## Code scaffolding
6
-
7
- Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
- > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
-
10
- ## Build
11
-
12
- Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
-
14
- ## Publishing
15
-
16
- After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
-
18
- ## Running unit tests
19
-
20
- Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
-
22
- ## Further help
23
-
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
1
+ # MyLib
2
+
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.0.
4
+
5
+ ## Code scaffolding
6
+
7
+ Run `ng generate component component-name --project my-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project my-lib`.
8
+ > Note: Don't forget to add `--project my-lib` or else it will be added to the default project in your `angular.json` file.
9
+
10
+ ## Build
11
+
12
+ Run `ng build my-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
13
+
14
+ ## Publishing
15
+
16
+ After building your library with `ng build my-lib`, go to the dist folder `cd dist/my-lib` and run `npm publish`.
17
+
18
+ ## Running unit tests
19
+
20
+ Run `ng test my-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
21
+
22
+ ## Further help
23
+
24
+ To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.