Skip to content

Commit f7cbef2

Browse files
chore(openapi): update description for signature box dimension params
Reflect the 'minimum 1' constraint in the generated OpenAPI spec and TypeScript types for signatureWidth and signatureHeight. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 2468597 commit f7cbef2

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

openapi-administration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,13 +1820,13 @@
18201820
"type": "number",
18211821
"format": "double",
18221822
"default": 350,
1823-
"description": "Signature width"
1823+
"description": "Signature box width, minimum 1"
18241824
},
18251825
"signatureHeight": {
18261826
"type": "number",
18271827
"format": "double",
18281828
"default": 100,
1829-
"description": "Signature height"
1829+
"description": "Signature box height, minimum 1"
18301830
},
18311831
"renderMode": {
18321832
"type": "string",

openapi-full.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11080,13 +11080,13 @@
1108011080
"type": "number",
1108111081
"format": "double",
1108211082
"default": 350,
11083-
"description": "Signature width"
11083+
"description": "Signature box width, minimum 1"
1108411084
},
1108511085
"signatureHeight": {
1108611086
"type": "number",
1108711087
"format": "double",
1108811088
"default": 100,
11089-
"description": "Signature height"
11089+
"description": "Signature box height, minimum 1"
1109011090
},
1109111091
"renderMode": {
1109211092
"type": "string",

src/types/openapi/openapi-administration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,13 +1195,13 @@ export interface operations {
11951195
signatureFontSize?: number;
11961196
/**
11971197
* Format: double
1198-
* @description Signature width
1198+
* @description Signature box width, minimum 1
11991199
* @default 350
12001200
*/
12011201
signatureWidth?: number;
12021202
/**
12031203
* Format: double
1204-
* @description Signature height
1204+
* @description Signature box height, minimum 1
12051205
* @default 100
12061206
*/
12071207
signatureHeight?: number;

src/types/openapi/openapi-full.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5946,13 +5946,13 @@ export interface operations {
59465946
signatureFontSize?: number;
59475947
/**
59485948
* Format: double
5949-
* @description Signature width
5949+
* @description Signature box width, minimum 1
59505950
* @default 350
59515951
*/
59525952
signatureWidth?: number;
59535953
/**
59545954
* Format: double
5955-
* @description Signature height
5955+
* @description Signature box height, minimum 1
59565956
* @default 100
59575957
*/
59585958
signatureHeight?: number;

0 commit comments

Comments
 (0)