@c8y/api-doc 1023.81.2 → 1023.81.3

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@c8y/api-doc",
3
- "version": "1023.81.2",
3
+ "version": "1023.81.3",
4
4
  "description": "This package is a blueprint application which allows to show all API documentations of the platform.",
5
5
  "dependencies": {
6
6
  "@angular/cdk": "^20.2.14",
7
- "@c8y/bootstrap": "1023.81.2",
8
- "@c8y/client": "1023.81.2",
9
- "@c8y/ngx-components": "1023.81.2",
10
- "@c8y/style": "1023.81.2",
7
+ "@c8y/bootstrap": "1023.81.3",
8
+ "@c8y/client": "1023.81.3",
9
+ "@c8y/ngx-components": "1023.81.3",
10
+ "@c8y/style": "1023.81.3",
11
11
  "lodash": "^4.18.1",
12
12
  "monaco-editor": "~0.53.0",
13
13
  "ngx-bootstrap": "20.0.2",
@@ -18,8 +18,8 @@
18
18
  "enabled": false
19
19
  },
20
20
  "devDependencies": {
21
- "@c8y/devkit": "1023.81.2",
22
- "@c8y/options": "1023.81.2",
21
+ "@c8y/devkit": "1023.81.3",
22
+ "@c8y/options": "1023.81.3",
23
23
  "@types/lodash": "4.17.24"
24
24
  },
25
25
  "peerDependencies": {
@@ -106,13 +106,13 @@ export class ApiDocService {
106
106
  : openApiSpecSettings;
107
107
 
108
108
  appObservables.push(
109
- ...entriesForApp.map(entry =>
109
+ ...entriesForApp.map((entry, index) =>
110
110
  this.humanize.transform(entry.label).pipe(
111
111
  map(
112
112
  humanizedName =>
113
113
  ({
114
114
  ...app,
115
- id: `${app.id}-${entry.path}`,
115
+ id: `${app.id}-${index}`,
116
116
  appLabel: humanizedName,
117
117
  downloadPath: `/service/${app.contextPath}/${entry.path}`
118
118
  }) as ApiDocApp