Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff4f6ea

Browse files
author
Michael Baldwin
committed
Run codegen since required now is not optional
1 parent a085f10 commit ff4f6ea

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

conformance/src/conformanceApiTypes.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export interface ICreateWidgetResponse {
8888
/** Request for GetWidget. */
8989
export interface IGetWidgetRequest {
9090
/** The widget ID. */
91-
id?: number;
91+
id: number;
9292

9393
/** Don't get the widget if it has this ETag. */
9494
ifNotETag?: string;
@@ -127,7 +127,7 @@ export interface IDeleteWidgetResponse {
127127
/** Request for GetWidgetBatch. */
128128
export interface IGetWidgetBatchRequest {
129129
/** The IDs of the widgets to return. */
130-
ids?: number[];
130+
ids: number[];
131131
}
132132

133133
/** Response for GetWidgetBatch. */
@@ -258,9 +258,9 @@ export interface IMixedResponse {
258258

259259
/** Request for Required. */
260260
export interface IRequiredRequest {
261-
query?: string;
261+
query: string;
262262

263-
normal?: string;
263+
normal: string;
264264

265265
widget?: IWidget;
266266

@@ -281,7 +281,7 @@ export interface IRequiredRequest {
281281

282282
/** Response for Required. */
283283
export interface IRequiredResponse {
284-
normal?: string;
284+
normal: string;
285285
}
286286

287287
/** Request for MirrorBytes. */
@@ -328,7 +328,7 @@ export interface IWidget {
328328
id?: number;
329329

330330
/** The name of the widget. */
331-
name?: string;
331+
name: string;
332332
}
333333

334334
export interface IAny {

conformance/src/fastify/conformanceApiPlugin.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ export interface ICreateWidgetResponse {
905905
/** Request for GetWidget. */
906906
export interface IGetWidgetRequest {
907907
/** The widget ID. */
908-
id?: number;
908+
id: number;
909909

910910
/** Don't get the widget if it has this ETag. */
911911
ifNotETag?: string;
@@ -944,7 +944,7 @@ export interface IDeleteWidgetResponse {
944944
/** Request for GetWidgetBatch. */
945945
export interface IGetWidgetBatchRequest {
946946
/** The IDs of the widgets to return. */
947-
ids?: number[];
947+
ids: number[];
948948
}
949949

950950
/** Response for GetWidgetBatch. */
@@ -1075,9 +1075,9 @@ export interface IMixedResponse {
10751075

10761076
/** Request for Required. */
10771077
export interface IRequiredRequest {
1078-
query?: string;
1078+
query: string;
10791079

1080-
normal?: string;
1080+
normal: string;
10811081

10821082
widget?: IWidget;
10831083

@@ -1098,7 +1098,7 @@ export interface IRequiredRequest {
10981098

10991099
/** Response for Required. */
11001100
export interface IRequiredResponse {
1101-
normal?: string;
1101+
normal: string;
11021102
}
11031103

11041104
/** Request for MirrorBytes. */
@@ -1145,7 +1145,7 @@ export interface IWidget {
11451145
id?: number;
11461146

11471147
/** The name of the widget. */
1148-
name?: string;
1148+
name: string;
11491149
}
11501150

11511151
export interface IAny {

0 commit comments

Comments
 (0)