Skip to content

Commit c279200

Browse files
committed
Fix config issues
1 parent 2510821 commit c279200

File tree

9 files changed

+2274
-591
lines changed

9 files changed

+2274
-591
lines changed

src/generated/schemas.gen.ts

Lines changed: 74 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,6 @@ export const LicenseProfileResourceSchema = {
257257
id: {
258258
type: 'string',
259259
},
260-
key: {
261-
type: 'string',
262-
},
263260
name: {
264261
type: 'string',
265262
},
@@ -349,7 +346,7 @@ export const IssueReleaseBranchResourceSchema = {
349346
key: {
350347
type: 'string',
351348
},
352-
isPullRequest: {
349+
pullRequest: {
353350
type: 'boolean',
354351
},
355352
projectKey: {
@@ -918,6 +915,11 @@ export const JiraOrganizationBindingResourceSchema = {
918915
description: 'Creation timestamp',
919916
readOnly: true,
920917
},
918+
isTokenShared: {
919+
type: 'boolean',
920+
description: 'TODO',
921+
readOnly: true,
922+
},
921923
},
922924
} as const;
923925

@@ -2103,7 +2105,7 @@ export const LicensePolicyLicenseUpdateRestRequestSchema = {
21032105
policy: {
21042106
type: 'string',
21052107
description: 'The new status of this license.',
2106-
enum: ['ALLOW', 'DENY'],
2108+
enum: ['DENY', 'ALLOW'],
21072109
},
21082110
},
21092111
required: ['policy'],
@@ -2136,7 +2138,7 @@ export const LicensePolicyLicenseResourceSchema = {
21362138
policy: {
21372139
type: 'string',
21382140
description: 'The policy status of this license.',
2139-
enum: ['ALLOW', 'DENY'],
2141+
enum: ['DENY', 'ALLOW'],
21402142
},
21412143
},
21422144
} as const;
@@ -2147,7 +2149,7 @@ export const LicenseProfileCategoryUpdateRestRequestSchema = {
21472149
policy: {
21482150
type: 'string',
21492151
description: 'The new status of this category.',
2150-
enum: ['ALLOW', 'DENY'],
2152+
enum: ['DENY', 'ALLOW'],
21512153
},
21522154
},
21532155
required: ['policy'],
@@ -2174,7 +2176,7 @@ export const LicenseProfileCategoryResourceSchema = {
21742176
policy: {
21752177
type: 'string',
21762178
description: 'The policy status of this category.',
2177-
enum: ['ALLOW', 'DENY'],
2179+
enum: ['DENY', 'ALLOW'],
21782180
},
21792181
},
21802182
} as const;
@@ -2293,6 +2295,24 @@ export const PatchJiraOrganizationBindingRequestResourceSchema = {
22932295
required: ['jiraCloudId', 'jiraInstanceUrl', 'sonarOrganizationUuid'],
22942296
} as const;
22952297

2298+
export const PatchJiraOrganizationBindingEditResourceSchema = {
2299+
type: 'object',
2300+
properties: {
2301+
sonarOrganizationUuid: {
2302+
type: 'string',
2303+
format: 'uuid',
2304+
description: 'Sonar organization UUID',
2305+
writeOnly: true,
2306+
},
2307+
isTokenShared: {
2308+
type: 'boolean',
2309+
description: 'TODO',
2310+
writeOnly: true,
2311+
},
2312+
},
2313+
required: ['isTokenShared', 'sonarOrganizationUuid'],
2314+
} as const;
2315+
22962316
export const RuleTypeMappingSchema = {
22972317
type: 'object',
22982318
properties: {
@@ -2677,6 +2697,35 @@ export const EmailConfigurationSearchRestResponseSchema = {
26772697
},
26782698
} as const;
26792699

2700+
export const CategorySchema = {
2701+
type: 'object',
2702+
properties: {
2703+
activeRules: {
2704+
type: 'integer',
2705+
format: 'int32',
2706+
},
2707+
issues: {
2708+
type: 'integer',
2709+
format: 'int32',
2710+
},
2711+
key: {
2712+
type: 'string',
2713+
},
2714+
},
2715+
} as const;
2716+
2717+
export const GetAccessibilityReportResponseSchema = {
2718+
type: 'object',
2719+
properties: {
2720+
categories: {
2721+
type: 'array',
2722+
items: {
2723+
$ref: '#/components/schemas/Category',
2724+
},
2725+
},
2726+
},
2727+
} as const;
2728+
26802729
export const SelfTestHttpCallResourceSchema = {
26812730
type: 'object',
26822731
properties: {
@@ -2834,7 +2883,7 @@ export const BranchResourceSchema = {
28342883
key: {
28352884
type: 'string',
28362885
},
2837-
isPullRequest: {
2886+
pullRequest: {
28382887
type: 'boolean',
28392888
},
28402889
projectKey: {
@@ -3682,9 +3731,6 @@ export const LicenseRestResponseSchema = {
36823731
licenseKey: {
36833732
type: 'string',
36843733
},
3685-
expired: {
3686-
type: 'boolean',
3687-
},
36883734
validEdition: {
36893735
type: 'boolean',
36903736
},
@@ -3700,6 +3746,9 @@ export const LicenseRestResponseSchema = {
37003746
legacy: {
37013747
type: 'boolean',
37023748
},
3749+
expired: {
3750+
type: 'boolean',
3751+
},
37033752
disabled: {
37043753
type: 'boolean',
37053754
},
@@ -3857,7 +3906,19 @@ export const GroupsMembershipSearchRestResponseSchema = {
38573906
},
38583907
} as const;
38593908

3860-
export const _eSchema = {
3909+
export const _aSchema = {
3910+
type: 'object',
3911+
properties: {
3912+
graphs: {
3913+
type: 'array',
3914+
items: {
3915+
$ref: '#/components/schemas/_h',
3916+
},
3917+
},
3918+
},
3919+
} as const;
3920+
3921+
export const _hSchema = {
38613922
type: 'object',
38623923
properties: {
38633924
id: {
@@ -3883,18 +3944,6 @@ export const _eSchema = {
38833944
},
38843945
} as const;
38853946

3886-
export const _pSchema = {
3887-
type: 'object',
3888-
properties: {
3889-
graphs: {
3890-
type: 'array',
3891-
items: {
3892-
$ref: '#/components/schemas/_e',
3893-
},
3894-
},
3895-
},
3896-
} as const;
3897-
38983947
export const JreInfoRestResponseSchema = {
38993948
type: 'object',
39003949
properties: {

0 commit comments

Comments
 (0)