@mediusinc/mng-commons-data-api 5.0.0-rc.1 → 5.0.0-rc.2
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/openapi/config.yaml
CHANGED
|
@@ -17,6 +17,9 @@ files:
|
|
|
17
17
|
custom/helpers.mustache:
|
|
18
18
|
destinationFilename: helpers.ts
|
|
19
19
|
templateType: SupportingFiles
|
|
20
|
+
custom/version.mustache:
|
|
21
|
+
destinationFilename: version.ts
|
|
22
|
+
templateType: SupportingFiles
|
|
20
23
|
custom/base-api.service.mustache:
|
|
21
24
|
folder: api
|
|
22
25
|
destinationFilename: base-api.service.ts
|
|
@@ -8,10 +8,10 @@ export interface SchemaProperty {
|
|
|
8
8
|
isReadOnly?: boolean;
|
|
9
9
|
required?: boolean;
|
|
10
10
|
isNullable?: boolean;
|
|
11
|
-
minLength?:
|
|
12
|
-
maxLength?:
|
|
13
|
-
minimum?:
|
|
14
|
-
maximum?:
|
|
11
|
+
minLength?: number;
|
|
12
|
+
maxLength?: number;
|
|
13
|
+
minimum?: number;
|
|
14
|
+
maximum?: number;
|
|
15
15
|
exclusiveMinimum?: boolean;
|
|
16
16
|
exclusiveMaximum?: boolean;
|
|
17
17
|
pattern?: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* {{{appName}}}
|
|
3
|
+
* {{{appDescription}}}
|
|
4
|
+
*
|
|
5
|
+
* {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
|
|
6
|
+
* {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
export interface ApiVersion {
|
|
10
|
+
appName?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
version?: string;
|
|
13
|
+
infoEmail?: string;
|
|
14
|
+
infoUrl?: string;
|
|
15
|
+
licenseInfo?: string;
|
|
16
|
+
licenseUrl?: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export const {{#lambda.camelcase}}{{configurationPrefix}}Version{{/lambda.camelcase}} = {
|
|
20
|
+
{{#appName}}appName: '{{.}}',{{/appName}}{{#appDescription}}
|
|
21
|
+
description: '{{.}}',{{/appDescription}}{{#version}}
|
|
22
|
+
version: '{{.}}',{{/version}}{{#infoEmail}}
|
|
23
|
+
infoEmail: '{{.}}',{{/infoEmail}}{{#licenseInfo}}
|
|
24
|
+
licenseInfo: '{{.}}',{{/licenseInfo}}{{#licenseUrl}}
|
|
25
|
+
licenseUrl: '{{.}}',{{/licenseUrl}}
|
|
26
|
+
};
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* {{{appName}}}
|
|
3
|
-
* {{{appDescription}}}
|
|
4
|
-
*
|
|
5
|
-
* {{#version}}The version of the OpenAPI document: {{{.}}}{{/version}}
|
|
6
|
-
* {{#infoEmail}}Contact: {{{.}}}{{/infoEmail}}
|
|
7
|
-
*
|
|
8
2
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
3
|
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
4
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mediusinc/mng-commons-data-api",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.2",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/core": "^17.3.0",
|
|
6
|
-
"@mediusinc/mng-commons": "~5.0.0-rc.
|
|
6
|
+
"@mediusinc/mng-commons": "~5.0.0-rc.2"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.3.0"
|