Skip to content

Commit f85ff91

Browse files
committed
Merge remote-tracking branch 'origin/main' into add-fmodel-endpoint
2 parents 75a02aa + 5fefc19 commit f85ff91

File tree

5 files changed

+128
-55
lines changed

5 files changed

+128
-55
lines changed

package-lock.json

Lines changed: 121 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"npm-run-all": "4.1.5",
8888
"npm-watch": "0.13.0",
8989
"openapi-schema-validator": "3.0.3",
90-
"openapi-typescript": "5.3.0",
90+
"openapi-typescript": "7.10.1",
9191
"prettier": "3.7.4",
9292
"proxyquire": "2.1.3",
9393
"semantic-release": "25.0.2",
@@ -126,7 +126,7 @@
126126
},
127127
"scripts": {
128128
"build": "npm run clean && npm run build:models && tsc && tsc-alias --dir dist -v && copyup --error src/generated-schema.json src/values-schema.yaml src/ttyManifests/*.yaml src/ttyManifests/adminTtyManifests/*.yaml dist/src && copyup --error ./src/license/license.pem ./dist/src",
129-
"build:models": "npm run build:spec && openapi-typescript src/generated-schema.json -o src/generated-schema.ts",
129+
"build:models": "npm run build:spec && openapi-typescript src/generated-schema.json -o src/generated-schema.ts --default-non-nullable false",
130130
"build:spec": "tsx src/build-spec.ts",
131131
"clean": "rm -rf dist >/dev/null",
132132
"cz": "git-cz",
@@ -143,7 +143,7 @@
143143
"release:bump:minor": "standard-version --skip.changelog true --release-as minor",
144144
"release:client": "bin/release-client.sh",
145145
"start": "node dist/src/app.js",
146-
"test": "npm run build:models && jest --forceExit",
146+
"test": "npm run build:models && jest",
147147
"test:pattern": "npm run build:models && jest --forceExit",
148148
"types": "tsc --noEmit",
149149
"prepare": "husky install",

src/openapi/app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,5 @@ App:
5858
teamAdmin: []
5959
teamMember: []
6060
type: object
61+
additionalProperties: true
6162
required: [id]

src/openapi/definitions.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ quantityMem:
929929
rawValues:
930930
description: 'May define value overrides for a chart. WARNING: these values currently have no schema and will not be validated.'
931931
type: object
932+
additionalProperties: true
932933
x-acl:
933934
platformAdmin: [read-any, update-any]
934935
teamAdmin: []

src/openapi/session.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Session:
55
# readOnly: true
66
core:
77
type: object
8+
additionalProperties: true
89
# readOnly: true
910
corrupt:
1011
type: boolean
@@ -60,4 +61,5 @@ Session:
6061
type: string
6162
valuesSchema:
6263
type: object
64+
additionalProperties: true
6365
type: object

0 commit comments

Comments
 (0)