Skip to content

Commit fc15912

Browse files
committed
Post-merge fixes
1 parent 31638b8 commit fc15912

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesDisabled/swagger.g.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
"responses": {
6060
"201": {
61-
"description": "Success",
61+
"description": "Created",
6262
"content": {
6363
"application/vnd.api+json": {
6464
"schema": {
@@ -68,7 +68,7 @@
6868
}
6969
},
7070
"204": {
71-
"description": "Success"
71+
"description": "No Content"
7272
}
7373
}
7474
}
@@ -169,7 +169,7 @@
169169
}
170170
},
171171
"204": {
172-
"description": "Success"
172+
"description": "No Content"
173173
}
174174
}
175175
},
@@ -191,7 +191,7 @@
191191
],
192192
"responses": {
193193
"204": {
194-
"description": "Success"
194+
"description": "No Content"
195195
}
196196
}
197197
}
@@ -207,6 +207,7 @@
207207
"nullable": true
208208
},
209209
"nameOfCurrentFarm": {
210+
"minLength": 1,
210211
"type": "string"
211212
},
212213
"age": {
@@ -241,6 +242,7 @@
241242
"nullable": true
242243
},
243244
"nameOfCurrentFarm": {
245+
"minLength": 1,
244246
"type": "string"
245247
},
246248
"age": {
@@ -270,6 +272,7 @@
270272
"nullable": true
271273
},
272274
"nameOfCurrentFarm": {
275+
"minLength": 1,
273276
"type": "string"
274277
},
275278
"age": {
@@ -328,6 +331,7 @@
328331
"$ref": "#/components/schemas/chickenResourceType"
329332
},
330333
"id": {
334+
"minLength": 1,
331335
"type": "string"
332336
},
333337
"attributes": {
@@ -363,6 +367,7 @@
363367
"$ref": "#/components/schemas/chickenResourceType"
364368
},
365369
"id": {
370+
"minLength": 1,
366371
"type": "string"
367372
},
368373
"attributes": {
@@ -464,12 +469,14 @@
464469
"type": "object",
465470
"properties": {
466471
"self": {
472+
"minLength": 1,
467473
"type": "string"
468474
},
469475
"describedby": {
470476
"type": "string"
471477
},
472478
"first": {
479+
"minLength": 1,
473480
"type": "string"
474481
},
475482
"last": {
@@ -491,6 +498,7 @@
491498
"type": "object",
492499
"properties": {
493500
"self": {
501+
"minLength": 1,
494502
"type": "string"
495503
},
496504
"describedby": {
@@ -506,6 +514,7 @@
506514
"type": "object",
507515
"properties": {
508516
"self": {
517+
"minLength": 1,
509518
"type": "string"
510519
}
511520
},

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesEnabled/swagger.g.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
"responses": {
6060
"201": {
61-
"description": "Success",
61+
"description": "Created",
6262
"content": {
6363
"application/vnd.api+json": {
6464
"schema": {
@@ -68,7 +68,7 @@
6868
}
6969
},
7070
"204": {
71-
"description": "Success"
71+
"description": "No Content"
7272
}
7373
}
7474
}
@@ -169,7 +169,7 @@
169169
}
170170
},
171171
"204": {
172-
"description": "Success"
172+
"description": "No Content"
173173
}
174174
}
175175
},
@@ -191,7 +191,7 @@
191191
],
192192
"responses": {
193193
"204": {
194-
"description": "Success"
194+
"description": "No Content"
195195
}
196196
}
197197
}
@@ -206,13 +206,15 @@
206206
"type": "string"
207207
},
208208
"nameOfCurrentFarm": {
209+
"minLength": 1,
209210
"type": "string"
210211
},
211212
"nameOfPreviousFarm": {
212213
"type": "string",
213214
"nullable": true
214215
},
215216
"nickname": {
217+
"minLength": 1,
216218
"type": "string"
217219
},
218220
"age": {
@@ -248,13 +250,15 @@
248250
"type": "string"
249251
},
250252
"nameOfCurrentFarm": {
253+
"minLength": 1,
251254
"type": "string"
252255
},
253256
"nameOfPreviousFarm": {
254257
"type": "string",
255258
"nullable": true
256259
},
257260
"nickname": {
261+
"minLength": 1,
258262
"type": "string"
259263
},
260264
"age": {
@@ -283,13 +287,15 @@
283287
"type": "string"
284288
},
285289
"nameOfCurrentFarm": {
290+
"minLength": 1,
286291
"type": "string"
287292
},
288293
"nameOfPreviousFarm": {
289294
"type": "string",
290295
"nullable": true
291296
},
292297
"nickname": {
298+
"minLength": 1,
293299
"type": "string"
294300
},
295301
"age": {
@@ -348,6 +354,7 @@
348354
"$ref": "#/components/schemas/cowResourceType"
349355
},
350356
"id": {
357+
"minLength": 1,
351358
"type": "string"
352359
},
353360
"attributes": {
@@ -383,6 +390,7 @@
383390
"$ref": "#/components/schemas/cowResourceType"
384391
},
385392
"id": {
393+
"minLength": 1,
386394
"type": "string"
387395
},
388396
"attributes": {
@@ -484,12 +492,14 @@
484492
"type": "object",
485493
"properties": {
486494
"self": {
495+
"minLength": 1,
487496
"type": "string"
488497
},
489498
"describedby": {
490499
"type": "string"
491500
},
492501
"first": {
502+
"minLength": 1,
493503
"type": "string"
494504
},
495505
"last": {
@@ -511,6 +521,7 @@
511521
"type": "object",
512522
"properties": {
513523
"self": {
524+
"minLength": 1,
514525
"type": "string"
515526
},
516527
"describedby": {
@@ -526,6 +537,7 @@
526537
"type": "object",
527538
"properties": {
528539
"self": {
540+
"minLength": 1,
529541
"type": "string"
530542
}
531543
},

0 commit comments

Comments
 (0)