···395395 reference_code: v.optional(v.string())
396396});
397397398398+/**
399399+ * Testing multiline comments in string: First line
400400+ * Second line
401401+ *
402402+ * Fourth line
403403+ */
404404+export const vCallWithDescriptionsParameterParameterWithBreaks = v.string();
405405+406406+/**
407407+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
408408+ */
409409+export const vCallWithDescriptionsParameterParameterWithBackticks = v.string();
410410+411411+/**
412412+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
413413+ */
414414+export const vCallWithDescriptionsParameterParameterWithSlashes = v.string();
415415+416416+/**
417417+ * Testing expression placeholders in string: ${expression} should work
418418+ */
419419+export const vCallWithDescriptionsParameterParameterWithExpressionPlaceholders = v.string();
420420+421421+/**
422422+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
423423+ */
424424+export const vCallWithDescriptionsParameterParameterWithQuotes = v.string();
425425+426426+/**
427427+ * Testing reserved characters in string: * inline * and ** inline ** should work
428428+ */
429429+export const vCallWithDescriptionsParameterParameterWithReservedCharacters = v.string();
430430+431431+/**
432432+ * This is the parameter that goes into the header
433433+ */
434434+export const vCallWithParametersParameterParameterHeader = v.string();
435435+436436+/**
437437+ * This is the parameter that goes into the path
438438+ */
439439+export const vCallWithParametersParameterParameterPath = v.string();
440440+441441+/**
442442+ * api-version should be required in standalone clients
443443+ */
444444+export const vCallWithParametersParameterApiVersion = v.string();
445445+446446+/**
447447+ * This is the parameter that goes into the query params
448448+ */
449449+export const vCallWithParametersParameterParameterQuery = v.string();
450450+451451+/**
452452+ * This is the parameter that goes into the request header
453453+ */
454454+export const vCallWithWeirdParameterNamesParameterParameterHeader = v.string();
455455+456456+/**
457457+ * This is the parameter that goes into the path
458458+ */
459459+export const vCallWithWeirdParameterNamesParameterParameterPath1 = v.string();
460460+461461+/**
462462+ * This is the parameter that goes into the path
463463+ */
464464+export const vCallWithWeirdParameterNamesParameterParameterPath2 = v.string();
465465+466466+/**
467467+ * This is the parameter that goes into the path
468468+ */
469469+export const vCallWithWeirdParameterNamesParameterParameterPath3 = v.string();
470470+471471+/**
472472+ * api-version should be required in standalone clients
473473+ */
474474+export const vCallWithWeirdParameterNamesParameterApiVersion = v.string();
475475+476476+/**
477477+ * This is the parameter with a reserved keyword
478478+ */
479479+export const vCallWithWeirdParameterNamesParameterDefault = v.string();
480480+481481+/**
482482+ * This is the parameter that goes into the request query params
483483+ */
484484+export const vCallWithWeirdParameterNamesParameterParameterQuery = v.string();
485485+486486+/**
487487+ * This is a simple string with default value
488488+ */
489489+export const vCallWithDefaultParametersParameterParameterString = v.optional(v.string(), 'Hello World!');
490490+491491+/**
492492+ * This is a simple number with default value
493493+ */
494494+export const vCallWithDefaultParametersParameterParameterNumber = v.optional(v.number(), 123);
495495+496496+/**
497497+ * This is a simple boolean with default value
498498+ */
499499+export const vCallWithDefaultParametersParameterParameterBoolean = v.optional(v.boolean(), true);
500500+501501+/**
502502+ * This is a simple enum with default value
503503+ */
504504+export const vCallWithDefaultParametersParameterParameterEnum = v.picklist([
505505+ 'Success',
506506+ 'Warning',
507507+ 'Error'
508508+]);
509509+510510+/**
511511+ * This is a model with one string property
512512+ */
513513+export const vCallWithDefaultParametersParameterParameterModel = v.optional(v.object({
514514+ prop: v.optional(v.string())
515515+}), {
516516+ prop: 'Hello World!'
517517+});
518518+519519+/**
520520+ * This is a simple string that is optional with default value
521521+ */
522522+export const vCallWithDefaultOptionalParametersParameterParameterString = v.optional(v.string(), 'Hello World!');
523523+524524+/**
525525+ * This is a simple number that is optional with default value
526526+ */
527527+export const vCallWithDefaultOptionalParametersParameterParameterNumber = v.optional(v.number(), 123);
528528+529529+/**
530530+ * This is a simple boolean that is optional with default value
531531+ */
532532+export const vCallWithDefaultOptionalParametersParameterParameterBoolean = v.optional(v.boolean(), true);
533533+534534+/**
535535+ * This is a simple enum that is optional with default value
536536+ */
537537+export const vCallWithDefaultOptionalParametersParameterParameterEnum = v.picklist([
538538+ 'Success',
539539+ 'Warning',
540540+ 'Error'
541541+]);
542542+543543+/**
544544+ * This is a optional string with default
545545+ */
546546+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = v.optional(v.string(), 'Hello World!');
547547+548548+/**
549549+ * This is a optional string with empty default
550550+ */
551551+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = v.optional(v.string(), '');
552552+553553+/**
554554+ * This is a optional string with no default
555555+ */
556556+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = v.string();
557557+558558+/**
559559+ * This is a string with default
560560+ */
561561+export const vCallToTestOrderOfParamsParameterParameterStringWithDefault = v.optional(v.string(), 'Hello World!');
562562+563563+/**
564564+ * This is a string with empty default
565565+ */
566566+export const vCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = v.optional(v.string(), '');
567567+568568+/**
569569+ * This is a string with no default
570570+ */
571571+export const vCallToTestOrderOfParamsParameterParameterStringWithNoDefault = v.string();
572572+573573+/**
574574+ * This is a string that can be null with no default
575575+ */
576576+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = v.union([
577577+ v.string(),
578578+ v.null()
579579+]);
580580+581581+/**
582582+ * This is a string that can be null with default
583583+ */
584584+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = v.optional(v.union([
585585+ v.string(),
586586+ v.null()
587587+]), null);
588588+398589export const vCallWithResponseAndNoContentResponseResponse = v.union([
399590 v.number(),
400591 v.unknown()
···420611 vModelThatExtendsExtends
421612]);
422613614614+/**
615615+ * This is an array parameter that is sent as csv format (comma-separated values)
616616+ */
617617+export const vCollectionFormatParameterParameterArrayCsv = v.array(v.string());
618618+619619+/**
620620+ * This is an array parameter that is sent as ssv format (space-separated values)
621621+ */
622622+export const vCollectionFormatParameterParameterArraySsv = v.array(v.string());
623623+624624+/**
625625+ * This is an array parameter that is sent as tsv format (tab-separated values)
626626+ */
627627+export const vCollectionFormatParameterParameterArrayTsv = v.array(v.string());
628628+629629+/**
630630+ * This is an array parameter that is sent as pipes format (pipe-separated values)
631631+ */
632632+export const vCollectionFormatParameterParameterArrayPipes = v.array(v.string());
633633+634634+/**
635635+ * This is an array parameter that is sent as multi format (multiple parameter instances)
636636+ */
637637+export const vCollectionFormatParameterParameterArrayMulti = v.array(v.string());
638638+639639+/**
640640+ * This is a number parameter
641641+ */
642642+export const vTypesParameterId = v.pipe(v.number(), v.integer());
643643+644644+/**
645645+ * This is a number parameter
646646+ */
647647+export const vTypesParameterParameterNumber = v.optional(v.number(), 123);
648648+649649+/**
650650+ * This is a string parameter
651651+ */
652652+export const vTypesParameterParameterString = v.optional(v.string(), 'default');
653653+654654+/**
655655+ * This is a boolean parameter
656656+ */
657657+export const vTypesParameterParameterBoolean = v.optional(v.boolean(), true);
658658+659659+/**
660660+ * This is an array parameter
661661+ */
662662+export const vTypesParameterParameterArray = v.array(v.string());
663663+664664+/**
665665+ * This is a dictionary parameter
666666+ */
667667+export const vTypesParameterParameterDictionary = v.object({});
668668+669669+/**
670670+ * This is an enum parameter
671671+ */
672672+export const vTypesParameterParameterEnum = v.picklist([
673673+ 'Success',
674674+ 'Warning',
675675+ 'Error'
676676+]);
677677+423678export const vTypesResponse = v.union([
424679 v.number(),
425680 v.string(),
···428683]);
429684430685/**
686686+ * Parameter containing object
687687+ */
688688+export const vComplexTypesParameterParameterObject = v.object({
689689+ first: v.optional(v.object({
690690+ second: v.optional(v.object({
691691+ third: v.optional(v.string())
692692+ }))
693693+ }))
694694+});
695695+696696+/**
697697+ * This is a model with one string property
698698+ */
699699+export const vComplexTypesParameterParameterReference = v.object({
700700+ prop: v.optional(v.string())
701701+});
702702+703703+/**
431704 * Successful response
432705 */
433706export const vComplexTypesResponse = v.array(vModelWithString);
707707+708708+/**
709709+ * Status code to return
710710+ */
711711+export const vTestErrorCodeParameterStatus = v.string();
712712+713713+/**
714714+ * Dummy input param
715715+ */
716716+export const vNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = v.pipe(v.number(), v.integer());
434717435718/**
436719 * Successful response
···388388 reference_code: z.string().optional()
389389});
390390391391+/**
392392+ * Testing multiline comments in string: First line
393393+ * Second line
394394+ *
395395+ * Fourth line
396396+ */
397397+export const zCallWithDescriptionsParameterParameterWithBreaks = z.string();
398398+399399+/**
400400+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
401401+ */
402402+export const zCallWithDescriptionsParameterParameterWithBackticks = z.string();
403403+404404+/**
405405+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
406406+ */
407407+export const zCallWithDescriptionsParameterParameterWithSlashes = z.string();
408408+409409+/**
410410+ * Testing expression placeholders in string: ${expression} should work
411411+ */
412412+export const zCallWithDescriptionsParameterParameterWithExpressionPlaceholders = z.string();
413413+414414+/**
415415+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
416416+ */
417417+export const zCallWithDescriptionsParameterParameterWithQuotes = z.string();
418418+419419+/**
420420+ * Testing reserved characters in string: * inline * and ** inline ** should work
421421+ */
422422+export const zCallWithDescriptionsParameterParameterWithReservedCharacters = z.string();
423423+424424+/**
425425+ * This is the parameter that goes into the header
426426+ */
427427+export const zCallWithParametersParameterParameterHeader = z.string();
428428+429429+/**
430430+ * This is the parameter that goes into the path
431431+ */
432432+export const zCallWithParametersParameterParameterPath = z.string();
433433+434434+/**
435435+ * api-version should be required in standalone clients
436436+ */
437437+export const zCallWithParametersParameterApiVersion = z.string();
438438+439439+/**
440440+ * This is the parameter that goes into the query params
441441+ */
442442+export const zCallWithParametersParameterParameterQuery = z.string();
443443+444444+/**
445445+ * This is the parameter that goes into the request header
446446+ */
447447+export const zCallWithWeirdParameterNamesParameterParameterHeader = z.string();
448448+449449+/**
450450+ * This is the parameter that goes into the path
451451+ */
452452+export const zCallWithWeirdParameterNamesParameterParameterPath1 = z.string();
453453+454454+/**
455455+ * This is the parameter that goes into the path
456456+ */
457457+export const zCallWithWeirdParameterNamesParameterParameterPath2 = z.string();
458458+459459+/**
460460+ * This is the parameter that goes into the path
461461+ */
462462+export const zCallWithWeirdParameterNamesParameterParameterPath3 = z.string();
463463+464464+/**
465465+ * api-version should be required in standalone clients
466466+ */
467467+export const zCallWithWeirdParameterNamesParameterApiVersion = z.string();
468468+469469+/**
470470+ * This is the parameter with a reserved keyword
471471+ */
472472+export const zCallWithWeirdParameterNamesParameterDefault = z.string();
473473+474474+/**
475475+ * This is the parameter that goes into the request query params
476476+ */
477477+export const zCallWithWeirdParameterNamesParameterParameterQuery = z.string();
478478+479479+/**
480480+ * This is a simple string with default value
481481+ */
482482+export const zCallWithDefaultParametersParameterParameterString = z.string().default('Hello World!');
483483+484484+/**
485485+ * This is a simple number with default value
486486+ */
487487+export const zCallWithDefaultParametersParameterParameterNumber = z.number().default(123);
488488+489489+/**
490490+ * This is a simple boolean with default value
491491+ */
492492+export const zCallWithDefaultParametersParameterParameterBoolean = z.boolean().default(true);
493493+494494+/**
495495+ * This is a simple enum with default value
496496+ */
497497+export const zCallWithDefaultParametersParameterParameterEnum = z.enum([
498498+ 'Success',
499499+ 'Warning',
500500+ 'Error'
501501+]);
502502+503503+/**
504504+ * This is a model with one string property
505505+ */
506506+export const zCallWithDefaultParametersParameterParameterModel = z.object({
507507+ prop: z.string().optional()
508508+}).default({
509509+ prop: 'Hello World!'
510510+});
511511+512512+/**
513513+ * This is a simple string that is optional with default value
514514+ */
515515+export const zCallWithDefaultOptionalParametersParameterParameterString = z.string().default('Hello World!');
516516+517517+/**
518518+ * This is a simple number that is optional with default value
519519+ */
520520+export const zCallWithDefaultOptionalParametersParameterParameterNumber = z.number().default(123);
521521+522522+/**
523523+ * This is a simple boolean that is optional with default value
524524+ */
525525+export const zCallWithDefaultOptionalParametersParameterParameterBoolean = z.boolean().default(true);
526526+527527+/**
528528+ * This is a simple enum that is optional with default value
529529+ */
530530+export const zCallWithDefaultOptionalParametersParameterParameterEnum = z.enum([
531531+ 'Success',
532532+ 'Warning',
533533+ 'Error'
534534+]);
535535+536536+/**
537537+ * This is a optional string with default
538538+ */
539539+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = z.string().default('Hello World!');
540540+541541+/**
542542+ * This is a optional string with empty default
543543+ */
544544+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = z.string().default('');
545545+546546+/**
547547+ * This is a optional string with no default
548548+ */
549549+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = z.string();
550550+551551+/**
552552+ * This is a string with default
553553+ */
554554+export const zCallToTestOrderOfParamsParameterParameterStringWithDefault = z.string().default('Hello World!');
555555+556556+/**
557557+ * This is a string with empty default
558558+ */
559559+export const zCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = z.string().default('');
560560+561561+/**
562562+ * This is a string with no default
563563+ */
564564+export const zCallToTestOrderOfParamsParameterParameterStringWithNoDefault = z.string();
565565+566566+/**
567567+ * This is a string that can be null with no default
568568+ */
569569+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = z.union([
570570+ z.string(),
571571+ z.null()
572572+]);
573573+574574+/**
575575+ * This is a string that can be null with default
576576+ */
577577+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = z.union([
578578+ z.string(),
579579+ z.null()
580580+]).default(null);
581581+391582export const zCallWithResponseAndNoContentResponseResponse = z.union([
392583 z.number(),
393584 z.unknown()
···413604 zModelThatExtendsExtends
414605]);
415606607607+/**
608608+ * This is an array parameter that is sent as csv format (comma-separated values)
609609+ */
610610+export const zCollectionFormatParameterParameterArrayCsv = z.array(z.string());
611611+612612+/**
613613+ * This is an array parameter that is sent as ssv format (space-separated values)
614614+ */
615615+export const zCollectionFormatParameterParameterArraySsv = z.array(z.string());
616616+617617+/**
618618+ * This is an array parameter that is sent as tsv format (tab-separated values)
619619+ */
620620+export const zCollectionFormatParameterParameterArrayTsv = z.array(z.string());
621621+622622+/**
623623+ * This is an array parameter that is sent as pipes format (pipe-separated values)
624624+ */
625625+export const zCollectionFormatParameterParameterArrayPipes = z.array(z.string());
626626+627627+/**
628628+ * This is an array parameter that is sent as multi format (multiple parameter instances)
629629+ */
630630+export const zCollectionFormatParameterParameterArrayMulti = z.array(z.string());
631631+632632+/**
633633+ * This is a number parameter
634634+ */
635635+export const zTypesParameterId = z.number().int();
636636+637637+/**
638638+ * This is a number parameter
639639+ */
640640+export const zTypesParameterParameterNumber = z.number().default(123);
641641+642642+/**
643643+ * This is a string parameter
644644+ */
645645+export const zTypesParameterParameterString = z.string().default('default');
646646+647647+/**
648648+ * This is a boolean parameter
649649+ */
650650+export const zTypesParameterParameterBoolean = z.boolean().default(true);
651651+652652+/**
653653+ * This is an array parameter
654654+ */
655655+export const zTypesParameterParameterArray = z.array(z.string());
656656+657657+/**
658658+ * This is a dictionary parameter
659659+ */
660660+export const zTypesParameterParameterDictionary = z.object({});
661661+662662+/**
663663+ * This is an enum parameter
664664+ */
665665+export const zTypesParameterParameterEnum = z.enum([
666666+ 'Success',
667667+ 'Warning',
668668+ 'Error'
669669+]);
670670+416671export const zTypesResponse = z.union([
417672 z.number(),
418673 z.string(),
···421676]);
422677423678/**
679679+ * Parameter containing object
680680+ */
681681+export const zComplexTypesParameterParameterObject = z.object({
682682+ first: z.object({
683683+ second: z.object({
684684+ third: z.string().optional()
685685+ }).optional()
686686+ }).optional()
687687+});
688688+689689+/**
690690+ * This is a model with one string property
691691+ */
692692+export const zComplexTypesParameterParameterReference = z.object({
693693+ prop: z.string().optional()
694694+});
695695+696696+/**
424697 * Successful response
425698 */
426699export const zComplexTypesResponse = z.array(zModelWithString);
700700+701701+/**
702702+ * Status code to return
703703+ */
704704+export const zTestErrorCodeParameterStatus = z.string();
705705+706706+/**
707707+ * Dummy input param
708708+ */
709709+export const zNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = z.number().int();
427710428711/**
429712 * Successful response
···10581058 vGenericSchemaDuplicateIssue1SystemString
10591059]);
1060106010611061+/**
10621062+ * Parameter with illegal characters
10631063+ */
10641064+export const vXFooBar = vModelWithString;
10651065+10611066export const vSimpleRequestBody = vModelWithString;
1062106710631068export const vSimpleFormData = vModelWithString;
···10781083export const vApiVVersionODataControllerCountResponse = vModelFromZendesk;
1079108410801085/**
10861086+ * foo in method
10871087+ */
10881088+export const vGetApiVbyApiVersionSimpleOperationParameterFooParam = v.string();
10891089+10901090+/**
10811091 * Response is a simple number
10821092 */
10831093export const vGetApiVbyApiVersionSimpleOperationResponse = v.number();
1084109410851095/**
10961096+ * foo in method
10971097+ */
10981098+export const vDeleteFooParameterFooParam = v.string();
10991099+11001100+/**
11011101+ * bar in method
11021102+ */
11031103+export const vDeleteFooParameterBarParam = v.string();
11041104+11051105+/**
11061106+ * Parameter with illegal characters
11071107+ */
11081108+export const vDeleteFooParameterXFooBar = vModelWithString;
11091109+11101110+/**
11111111+ * Testing multiline comments in string: First line
11121112+ * Second line
11131113+ *
11141114+ * Fourth line
11151115+ */
11161116+export const vCallWithDescriptionsParameterParameterWithBreaks = v.string();
11171117+11181118+/**
11191119+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
11201120+ */
11211121+export const vCallWithDescriptionsParameterParameterWithBackticks = v.string();
11221122+11231123+/**
11241124+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
11251125+ */
11261126+export const vCallWithDescriptionsParameterParameterWithSlashes = v.string();
11271127+11281128+/**
11291129+ * Testing expression placeholders in string: ${expression} should work
11301130+ */
11311131+export const vCallWithDescriptionsParameterParameterWithExpressionPlaceholders = v.string();
11321132+11331133+/**
11341134+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
11351135+ */
11361136+export const vCallWithDescriptionsParameterParameterWithQuotes = v.string();
11371137+11381138+/**
11391139+ * Testing reserved characters in string: * inline * and ** inline ** should work
11401140+ */
11411141+export const vCallWithDescriptionsParameterParameterWithReservedCharacters = v.string();
11421142+11431143+/**
11441144+ * This parameter is deprecated
11451145+ * @deprecated
11461146+ */
11471147+export const vDeprecatedCallParameterParameter = v.union([
11481148+ vDeprecatedModel,
11491149+ v.null()
11501150+]);
11511151+11521152+/**
10861153 * This is the parameter that goes into the body
10871154 */
10881155export const vCallWithParametersData = v.union([
···10911158]);
1092115910931160/**
11611161+ * This is the parameter that goes into the cookie
11621162+ */
11631163+export const vCallWithParametersParameterParameterCookie = v.union([
11641164+ v.string(),
11651165+ v.null()
11661166+]);
11671167+11681168+/**
11691169+ * This is the parameter that goes into the header
11701170+ */
11711171+export const vCallWithParametersParameterParameterHeader = v.union([
11721172+ v.string(),
11731173+ v.null()
11741174+]);
11751175+11761176+/**
11771177+ * This is the parameter that goes into the path
11781178+ */
11791179+export const vCallWithParametersParameterParameterPath = v.union([
11801180+ v.string(),
11811181+ v.null()
11821182+]);
11831183+11841184+/**
11851185+ * api-version should be required in standalone clients
11861186+ */
11871187+export const vCallWithParametersParameterApiVersion = v.union([
11881188+ v.string(),
11891189+ v.null()
11901190+]);
11911191+11921192+export const vCallWithParametersParameterFooRefEnum = vModelWithNestedArrayEnumsDataFoo;
11931193+11941194+export const vCallWithParametersParameterFooAllOfEnum = vModelWithNestedArrayEnumsDataFoo;
11951195+11961196+/**
11971197+ * This is the parameter that goes into the query params
11981198+ */
11991199+export const vCallWithParametersParameterCursor = v.union([
12001200+ v.string(),
12011201+ v.null()
12021202+]);
12031203+12041204+/**
10941205 * This is the parameter that goes into the body
10951206 */
10961207export const vCallWithWeirdParameterNamesData = v.union([
···10991210]);
1100121111011212/**
12131213+ * This is the parameter that goes into the cookie
12141214+ */
12151215+export const vCallWithWeirdParameterNamesParameterParameterCookie = v.union([
12161216+ v.string(),
12171217+ v.null()
12181218+]);
12191219+12201220+/**
12211221+ * This is the parameter that goes into the request header
12221222+ */
12231223+export const vCallWithWeirdParameterNamesParameterParameterHeader = v.union([
12241224+ v.string(),
12251225+ v.null()
12261226+]);
12271227+12281228+/**
12291229+ * This is the parameter that goes into the path
12301230+ */
12311231+export const vCallWithWeirdParameterNamesParameterParameterPath1 = v.string();
12321232+12331233+/**
12341234+ * This is the parameter that goes into the path
12351235+ */
12361236+export const vCallWithWeirdParameterNamesParameterParameterPath2 = v.string();
12371237+12381238+/**
12391239+ * This is the parameter that goes into the path
12401240+ */
12411241+export const vCallWithWeirdParameterNamesParameterParameterPath3 = v.string();
12421242+12431243+/**
12441244+ * api-version should be required in standalone clients
12451245+ */
12461246+export const vCallWithWeirdParameterNamesParameterApiVersion = v.union([
12471247+ v.string(),
12481248+ v.null()
12491249+]);
12501250+12511251+/**
12521252+ * This is the parameter with a reserved keyword
12531253+ */
12541254+export const vCallWithWeirdParameterNamesParameterDefault = v.string();
12551255+12561256+/**
12571257+ * This is the parameter that goes into the request query params
12581258+ */
12591259+export const vCallWithWeirdParameterNamesParameterParameterQuery = v.union([
12601260+ v.string(),
12611261+ v.null()
12621262+]);
12631263+12641264+/**
11021265 * This is a required parameter
11031266 */
11041267export const vGetCallWithOptionalParamData = vModelWithOneOfEnum;
12681268+12691269+/**
12701270+ * This is an optional parameter
12711271+ */
12721272+export const vGetCallWithOptionalParamParameterPage = v.number();
1105127311061274/**
11071275 * This is an optional parameter
···11131281 ]))
11141282});
1115128312841284+/**
12851285+ * This is a required parameter
12861286+ */
12871287+export const vPostCallWithOptionalParamParameterParameter = vPageable;
12881288+11161289export const vPostCallWithOptionalParamResponse = v.union([
11171290 v.number(),
11181291 v.void()
···11241297export const vPostApiVbyApiVersionRequestBodyData = vSimpleRequestBody;
1125129811261299/**
13001300+ * This is a reusable parameter
13011301+ */
13021302+export const vPostApiVbyApiVersionRequestBodyParameterParameter = v.string();
13031303+13041304+/**
11271305 * A reusable request body
11281306 */
11291307export const vPostApiVbyApiVersionFormDataData = vSimpleFormData;
1130130811311309/**
13101310+ * This is a reusable parameter
13111311+ */
13121312+export const vPostApiVbyApiVersionFormDataParameterParameter = v.string();
13131313+13141314+/**
13151315+ * This is a simple string with default value
13161316+ */
13171317+export const vCallWithDefaultParametersParameterParameterString = v.optional(v.union([
13181318+ v.optional(v.string(), 'Hello World!'),
13191319+ v.null()
13201320+]), 'Hello World!');
13211321+13221322+/**
13231323+ * This is a simple number with default value
13241324+ */
13251325+export const vCallWithDefaultParametersParameterParameterNumber = v.optional(v.union([
13261326+ v.optional(v.number(), 123),
13271327+ v.null()
13281328+]), 123);
13291329+13301330+/**
13311331+ * This is a simple boolean with default value
13321332+ */
13331333+export const vCallWithDefaultParametersParameterParameterBoolean = v.optional(v.union([
13341334+ v.optional(v.boolean(), true),
13351335+ v.null()
13361336+]), true);
13371337+13381338+/**
13391339+ * This is a simple enum with default value
13401340+ */
13411341+export const vCallWithDefaultParametersParameterParameterEnum = v.picklist([
13421342+ 'Success',
13431343+ 'Warning',
13441344+ 'Error'
13451345+]);
13461346+13471347+/**
13481348+ * This is a simple model with default value
13491349+ */
13501350+export const vCallWithDefaultParametersParameterParameterModel = v.union([
13511351+ vModelWithString,
13521352+ v.null()
13531353+]);
13541354+13551355+/**
13561356+ * This is a simple string that is optional with default value
13571357+ */
13581358+export const vCallWithDefaultOptionalParametersParameterParameterString = v.optional(v.string(), 'Hello World!');
13591359+13601360+/**
13611361+ * This is a simple number that is optional with default value
13621362+ */
13631363+export const vCallWithDefaultOptionalParametersParameterParameterNumber = v.optional(v.number(), 123);
13641364+13651365+/**
13661366+ * This is a simple boolean that is optional with default value
13671367+ */
13681368+export const vCallWithDefaultOptionalParametersParameterParameterBoolean = v.optional(v.boolean(), true);
13691369+13701370+/**
13711371+ * This is a simple enum that is optional with default value
13721372+ */
13731373+export const vCallWithDefaultOptionalParametersParameterParameterEnum = v.picklist([
13741374+ 'Success',
13751375+ 'Warning',
13761376+ 'Error'
13771377+]);
13781378+13791379+/**
13801380+ * This is a simple model that is optional with default value
13811381+ */
13821382+export const vCallWithDefaultOptionalParametersParameterParameterModel = vModelWithString;
13831383+13841384+/**
13851385+ * This is a optional string with default
13861386+ */
13871387+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = v.optional(v.string(), 'Hello World!');
13881388+13891389+/**
13901390+ * This is a optional string with empty default
13911391+ */
13921392+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = v.optional(v.string(), '');
13931393+13941394+/**
13951395+ * This is a optional string with no default
13961396+ */
13971397+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = v.string();
13981398+13991399+/**
14001400+ * This is a string with default
14011401+ */
14021402+export const vCallToTestOrderOfParamsParameterParameterStringWithDefault = v.optional(v.string(), 'Hello World!');
14031403+14041404+/**
14051405+ * This is a string with empty default
14061406+ */
14071407+export const vCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = v.optional(v.string(), '');
14081408+14091409+/**
14101410+ * This is a string with no default
14111411+ */
14121412+export const vCallToTestOrderOfParamsParameterParameterStringWithNoDefault = v.string();
14131413+14141414+/**
14151415+ * This is a string that can be null with no default
14161416+ */
14171417+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = v.union([
14181418+ v.string(),
14191419+ v.null()
14201420+]);
14211421+14221422+/**
14231423+ * This is a string that can be null with default
14241424+ */
14251425+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = v.optional(v.union([
14261426+ v.string(),
14271427+ v.null()
14281428+]), null);
14291429+14301430+/**
11321431 * Success
11331432 */
11341433export const vCallWithNoContentResponseResponse = v.void();
···11651464 vModelThatExtendsExtends
11661465]);
1167146614671467+/**
14681468+ * This is an array parameter that is sent as csv format (comma-separated values)
14691469+ */
14701470+export const vCollectionFormatParameterParameterArrayCsv = v.union([
14711471+ v.array(v.string()),
14721472+ v.null()
14731473+]);
14741474+14751475+/**
14761476+ * This is an array parameter that is sent as ssv format (space-separated values)
14771477+ */
14781478+export const vCollectionFormatParameterParameterArraySsv = v.union([
14791479+ v.array(v.string()),
14801480+ v.null()
14811481+]);
14821482+14831483+/**
14841484+ * This is an array parameter that is sent as tsv format (tab-separated values)
14851485+ */
14861486+export const vCollectionFormatParameterParameterArrayTsv = v.union([
14871487+ v.array(v.string()),
14881488+ v.null()
14891489+]);
14901490+14911491+/**
14921492+ * This is an array parameter that is sent as pipes format (pipe-separated values)
14931493+ */
14941494+export const vCollectionFormatParameterParameterArrayPipes = v.union([
14951495+ v.array(v.string()),
14961496+ v.null()
14971497+]);
14981498+14991499+/**
15001500+ * This is an array parameter that is sent as multi format (multiple parameter instances)
15011501+ */
15021502+export const vCollectionFormatParameterParameterArrayMulti = v.union([
15031503+ v.array(v.string()),
15041504+ v.null()
15051505+]);
15061506+15071507+/**
15081508+ * This is a number parameter
15091509+ */
15101510+export const vTypesParameterId = v.pipe(v.number(), v.integer());
15111511+15121512+/**
15131513+ * This is a number parameter
15141514+ */
15151515+export const vTypesParameterParameterNumber = v.optional(v.number(), 123);
15161516+15171517+/**
15181518+ * This is a string parameter
15191519+ */
15201520+export const vTypesParameterParameterString = v.optional(v.union([
15211521+ v.optional(v.string(), 'default'),
15221522+ v.null()
15231523+]), 'default');
15241524+15251525+/**
15261526+ * This is a boolean parameter
15271527+ */
15281528+export const vTypesParameterParameterBoolean = v.optional(v.union([
15291529+ v.optional(v.boolean(), true),
15301530+ v.null()
15311531+]), true);
15321532+15331533+/**
15341534+ * This is an object parameter
15351535+ */
15361536+export const vTypesParameterParameterObject = v.optional(v.union([
15371537+ v.object({}),
15381538+ v.null()
15391539+]), null);
15401540+15411541+/**
15421542+ * This is an array parameter
15431543+ */
15441544+export const vTypesParameterParameterArray = v.union([
15451545+ v.array(v.string()),
15461546+ v.null()
15471547+]);
15481548+15491549+/**
15501550+ * This is a dictionary parameter
15511551+ */
15521552+export const vTypesParameterParameterDictionary = v.union([
15531553+ v.object({}),
15541554+ v.null()
15551555+]);
15561556+15571557+/**
15581558+ * This is an enum parameter
15591559+ */
15601560+export const vTypesParameterParameterEnum = v.picklist([
15611561+ 'Success',
15621562+ 'Warning',
15631563+ 'Error'
15641564+]);
15651565+11681566export const vTypesResponse = v.union([
11691567 v.number(),
11701568 v.string(),
···1174157211751573export const vUploadFileData = v.string();
1176157415751575+/**
15761576+ * api-version should be required in standalone clients
15771577+ */
15781578+export const vUploadFileParameterApiVersion = v.union([
15791579+ v.string(),
15801580+ v.null()
15811581+]);
15821582+11771583export const vUploadFileResponse = v.boolean();
1178158415851585+export const vFileResponseParameterId = v.string();
15861586+15871587+/**
15881588+ * api-version should be required in standalone clients
15891589+ */
15901590+export const vFileResponseParameterApiVersion = v.string();
15911591+11791592/**
11801593 * Success
11811594 */
11821595export const vFileResponseResponse = v.string();
1183159611841597/**
15981598+ * Parameter containing object
15991599+ */
16001600+export const vComplexTypesParameterParameterObject = v.object({
16011601+ first: v.optional(v.object({
16021602+ second: v.optional(v.object({
16031603+ third: v.optional(v.string())
16041604+ }))
16051605+ }))
16061606+});
16071607+16081608+/**
16091609+ * Parameter containing reference
16101610+ */
16111611+export const vComplexTypesParameterParameterReference = vModelWithString;
16121612+16131613+/**
11851614 * Successful response
11861615 */
11871616export const vComplexTypesResponse = v.array(vModelWithString);
···12431672 }), v.readonly()))
12441673});
1245167416751675+export const vComplexParamsParameterId = v.pipe(v.number(), v.integer());
16761676+16771677+/**
16781678+ * api-version should be required in standalone clients
16791679+ */
16801680+export const vComplexParamsParameterApiVersion = v.string();
16811681+12461682/**
12471683 * Success
12481684 */
12491685export const vComplexParamsResponse = vModelWithString;
16861686+16871687+/**
16881688+ * Status code to return
16891689+ */
16901690+export const vTestErrorCodeParameterStatus = v.pipe(v.number(), v.integer());
16911691+16921692+/**
16931693+ * Dummy input param
16941694+ */
16951695+export const vNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = v.pipe(v.number(), v.integer());
1250169612511697/**
12521698 * Successful response
···972972 zGenericSchemaDuplicateIssue1SystemString
973973]);
974974975975+/**
976976+ * Parameter with illegal characters
977977+ */
978978+export const zXFooBar = zModelWithString;
979979+975980export const zSimpleRequestBody = zModelWithString;
976981977982export const zSimpleFormData = zModelWithString;
···992997export const zApiVVersionODataControllerCountResponse = zModelFromZendesk;
993998994999/**
10001000+ * foo in method
10011001+ */
10021002+export const zGetApiVbyApiVersionSimpleOperationParameterFooParam = z.string();
10031003+10041004+/**
9951005 * Response is a simple number
9961006 */
9971007export const zGetApiVbyApiVersionSimpleOperationResponse = z.number();
99810089991009/**
10101010+ * foo in method
10111011+ */
10121012+export const zDeleteFooParameterFooParam = z.string();
10131013+10141014+/**
10151015+ * bar in method
10161016+ */
10171017+export const zDeleteFooParameterBarParam = z.string();
10181018+10191019+/**
10201020+ * Parameter with illegal characters
10211021+ */
10221022+export const zDeleteFooParameterXFooBar = zModelWithString;
10231023+10241024+/**
10251025+ * Testing multiline comments in string: First line
10261026+ * Second line
10271027+ *
10281028+ * Fourth line
10291029+ */
10301030+export const zCallWithDescriptionsParameterParameterWithBreaks = z.string();
10311031+10321032+/**
10331033+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
10341034+ */
10351035+export const zCallWithDescriptionsParameterParameterWithBackticks = z.string();
10361036+10371037+/**
10381038+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
10391039+ */
10401040+export const zCallWithDescriptionsParameterParameterWithSlashes = z.string();
10411041+10421042+/**
10431043+ * Testing expression placeholders in string: ${expression} should work
10441044+ */
10451045+export const zCallWithDescriptionsParameterParameterWithExpressionPlaceholders = z.string();
10461046+10471047+/**
10481048+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
10491049+ */
10501050+export const zCallWithDescriptionsParameterParameterWithQuotes = z.string();
10511051+10521052+/**
10531053+ * Testing reserved characters in string: * inline * and ** inline ** should work
10541054+ */
10551055+export const zCallWithDescriptionsParameterParameterWithReservedCharacters = z.string();
10561056+10571057+/**
10581058+ * This parameter is deprecated
10591059+ * @deprecated
10601060+ */
10611061+export const zDeprecatedCallParameterParameter = z.union([
10621062+ zDeprecatedModel,
10631063+ z.null()
10641064+]);
10651065+10661066+/**
10001067 * This is the parameter that goes into the body
10011068 */
10021069export const zCallWithParametersData = z.union([
···10051072]);
1006107310071074/**
10751075+ * This is the parameter that goes into the cookie
10761076+ */
10771077+export const zCallWithParametersParameterParameterCookie = z.union([
10781078+ z.string(),
10791079+ z.null()
10801080+]);
10811081+10821082+/**
10831083+ * This is the parameter that goes into the header
10841084+ */
10851085+export const zCallWithParametersParameterParameterHeader = z.union([
10861086+ z.string(),
10871087+ z.null()
10881088+]);
10891089+10901090+/**
10911091+ * This is the parameter that goes into the path
10921092+ */
10931093+export const zCallWithParametersParameterParameterPath = z.union([
10941094+ z.string(),
10951095+ z.null()
10961096+]);
10971097+10981098+/**
10991099+ * api-version should be required in standalone clients
11001100+ */
11011101+export const zCallWithParametersParameterApiVersion = z.union([
11021102+ z.string(),
11031103+ z.null()
11041104+]);
11051105+11061106+export const zCallWithParametersParameterFooRefEnum = zModelWithNestedArrayEnumsDataFoo;
11071107+11081108+export const zCallWithParametersParameterFooAllOfEnum = zModelWithNestedArrayEnumsDataFoo;
11091109+11101110+/**
11111111+ * This is the parameter that goes into the query params
11121112+ */
11131113+export const zCallWithParametersParameterCursor = z.union([
11141114+ z.string(),
11151115+ z.null()
11161116+]);
11171117+11181118+/**
10081119 * This is the parameter that goes into the body
10091120 */
10101121export const zCallWithWeirdParameterNamesData = z.union([
···10131124]);
1014112510151126/**
11271127+ * This is the parameter that goes into the cookie
11281128+ */
11291129+export const zCallWithWeirdParameterNamesParameterParameterCookie = z.union([
11301130+ z.string(),
11311131+ z.null()
11321132+]);
11331133+11341134+/**
11351135+ * This is the parameter that goes into the request header
11361136+ */
11371137+export const zCallWithWeirdParameterNamesParameterParameterHeader = z.union([
11381138+ z.string(),
11391139+ z.null()
11401140+]);
11411141+11421142+/**
11431143+ * This is the parameter that goes into the path
11441144+ */
11451145+export const zCallWithWeirdParameterNamesParameterParameterPath1 = z.string();
11461146+11471147+/**
11481148+ * This is the parameter that goes into the path
11491149+ */
11501150+export const zCallWithWeirdParameterNamesParameterParameterPath2 = z.string();
11511151+11521152+/**
11531153+ * This is the parameter that goes into the path
11541154+ */
11551155+export const zCallWithWeirdParameterNamesParameterParameterPath3 = z.string();
11561156+11571157+/**
11581158+ * api-version should be required in standalone clients
11591159+ */
11601160+export const zCallWithWeirdParameterNamesParameterApiVersion = z.union([
11611161+ z.string(),
11621162+ z.null()
11631163+]);
11641164+11651165+/**
11661166+ * This is the parameter with a reserved keyword
11671167+ */
11681168+export const zCallWithWeirdParameterNamesParameterDefault = z.string();
11691169+11701170+/**
11711171+ * This is the parameter that goes into the request query params
11721172+ */
11731173+export const zCallWithWeirdParameterNamesParameterParameterQuery = z.union([
11741174+ z.string(),
11751175+ z.null()
11761176+]);
11771177+11781178+/**
10161179 * This is a required parameter
10171180 */
10181181export const zGetCallWithOptionalParamData = zModelWithOneOfEnum;
11821182+11831183+/**
11841184+ * This is an optional parameter
11851185+ */
11861186+export const zGetCallWithOptionalParamParameterPage = z.number();
1019118710201188/**
10211189 * This is an optional parameter
···10271195 ]).optional()
10281196});
1029119711981198+/**
11991199+ * This is a required parameter
12001200+ */
12011201+export const zPostCallWithOptionalParamParameterParameter = zPageable;
12021202+10301203export const zPostCallWithOptionalParamResponse = z.union([
10311204 z.number(),
10321205 z.void()
···10381211export const zPostApiVbyApiVersionRequestBodyData = zSimpleRequestBody;
1039121210401213/**
12141214+ * This is a reusable parameter
12151215+ */
12161216+export const zPostApiVbyApiVersionRequestBodyParameterParameter = z.string();
12171217+12181218+/**
10411219 * A reusable request body
10421220 */
10431221export const zPostApiVbyApiVersionFormDataData = zSimpleFormData;
1044122210451223/**
12241224+ * This is a reusable parameter
12251225+ */
12261226+export const zPostApiVbyApiVersionFormDataParameterParameter = z.string();
12271227+12281228+/**
12291229+ * This is a simple string with default value
12301230+ */
12311231+export const zCallWithDefaultParametersParameterParameterString = z.union([
12321232+ z.string().default('Hello World!'),
12331233+ z.null()
12341234+]).default('Hello World!');
12351235+12361236+/**
12371237+ * This is a simple number with default value
12381238+ */
12391239+export const zCallWithDefaultParametersParameterParameterNumber = z.union([
12401240+ z.number().default(123),
12411241+ z.null()
12421242+]).default(123);
12431243+12441244+/**
12451245+ * This is a simple boolean with default value
12461246+ */
12471247+export const zCallWithDefaultParametersParameterParameterBoolean = z.union([
12481248+ z.boolean().default(true),
12491249+ z.null()
12501250+]).default(true);
12511251+12521252+/**
12531253+ * This is a simple enum with default value
12541254+ */
12551255+export const zCallWithDefaultParametersParameterParameterEnum = z.enum([
12561256+ 'Success',
12571257+ 'Warning',
12581258+ 'Error'
12591259+]);
12601260+12611261+/**
12621262+ * This is a simple model with default value
12631263+ */
12641264+export const zCallWithDefaultParametersParameterParameterModel = z.union([
12651265+ zModelWithString,
12661266+ z.null()
12671267+]);
12681268+12691269+/**
12701270+ * This is a simple string that is optional with default value
12711271+ */
12721272+export const zCallWithDefaultOptionalParametersParameterParameterString = z.string().default('Hello World!');
12731273+12741274+/**
12751275+ * This is a simple number that is optional with default value
12761276+ */
12771277+export const zCallWithDefaultOptionalParametersParameterParameterNumber = z.number().default(123);
12781278+12791279+/**
12801280+ * This is a simple boolean that is optional with default value
12811281+ */
12821282+export const zCallWithDefaultOptionalParametersParameterParameterBoolean = z.boolean().default(true);
12831283+12841284+/**
12851285+ * This is a simple enum that is optional with default value
12861286+ */
12871287+export const zCallWithDefaultOptionalParametersParameterParameterEnum = z.enum([
12881288+ 'Success',
12891289+ 'Warning',
12901290+ 'Error'
12911291+]);
12921292+12931293+/**
12941294+ * This is a simple model that is optional with default value
12951295+ */
12961296+export const zCallWithDefaultOptionalParametersParameterParameterModel = zModelWithString;
12971297+12981298+/**
12991299+ * This is a optional string with default
13001300+ */
13011301+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = z.string().default('Hello World!');
13021302+13031303+/**
13041304+ * This is a optional string with empty default
13051305+ */
13061306+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = z.string().default('');
13071307+13081308+/**
13091309+ * This is a optional string with no default
13101310+ */
13111311+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = z.string();
13121312+13131313+/**
13141314+ * This is a string with default
13151315+ */
13161316+export const zCallToTestOrderOfParamsParameterParameterStringWithDefault = z.string().default('Hello World!');
13171317+13181318+/**
13191319+ * This is a string with empty default
13201320+ */
13211321+export const zCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = z.string().default('');
13221322+13231323+/**
13241324+ * This is a string with no default
13251325+ */
13261326+export const zCallToTestOrderOfParamsParameterParameterStringWithNoDefault = z.string();
13271327+13281328+/**
13291329+ * This is a string that can be null with no default
13301330+ */
13311331+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = z.union([
13321332+ z.string(),
13331333+ z.null()
13341334+]);
13351335+13361336+/**
13371337+ * This is a string that can be null with default
13381338+ */
13391339+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = z.union([
13401340+ z.string(),
13411341+ z.null()
13421342+]).default(null);
13431343+13441344+/**
10461345 * Success
10471346 */
10481347export const zCallWithNoContentResponseResponse = z.void();
···10761375 zModelThatExtendsExtends
10771376]);
1078137713781378+/**
13791379+ * This is an array parameter that is sent as csv format (comma-separated values)
13801380+ */
13811381+export const zCollectionFormatParameterParameterArrayCsv = z.union([
13821382+ z.array(z.string()),
13831383+ z.null()
13841384+]);
13851385+13861386+/**
13871387+ * This is an array parameter that is sent as ssv format (space-separated values)
13881388+ */
13891389+export const zCollectionFormatParameterParameterArraySsv = z.union([
13901390+ z.array(z.string()),
13911391+ z.null()
13921392+]);
13931393+13941394+/**
13951395+ * This is an array parameter that is sent as tsv format (tab-separated values)
13961396+ */
13971397+export const zCollectionFormatParameterParameterArrayTsv = z.union([
13981398+ z.array(z.string()),
13991399+ z.null()
14001400+]);
14011401+14021402+/**
14031403+ * This is an array parameter that is sent as pipes format (pipe-separated values)
14041404+ */
14051405+export const zCollectionFormatParameterParameterArrayPipes = z.union([
14061406+ z.array(z.string()),
14071407+ z.null()
14081408+]);
14091409+14101410+/**
14111411+ * This is an array parameter that is sent as multi format (multiple parameter instances)
14121412+ */
14131413+export const zCollectionFormatParameterParameterArrayMulti = z.union([
14141414+ z.array(z.string()),
14151415+ z.null()
14161416+]);
14171417+14181418+/**
14191419+ * This is a number parameter
14201420+ */
14211421+export const zTypesParameterId = z.number().int();
14221422+14231423+/**
14241424+ * This is a number parameter
14251425+ */
14261426+export const zTypesParameterParameterNumber = z.number().default(123);
14271427+14281428+/**
14291429+ * This is a string parameter
14301430+ */
14311431+export const zTypesParameterParameterString = z.union([
14321432+ z.string().default('default'),
14331433+ z.null()
14341434+]).default('default');
14351435+14361436+/**
14371437+ * This is a boolean parameter
14381438+ */
14391439+export const zTypesParameterParameterBoolean = z.union([
14401440+ z.boolean().default(true),
14411441+ z.null()
14421442+]).default(true);
14431443+14441444+/**
14451445+ * This is an object parameter
14461446+ */
14471447+export const zTypesParameterParameterObject = z.union([
14481448+ z.object({}),
14491449+ z.null()
14501450+]).default(null);
14511451+14521452+/**
14531453+ * This is an array parameter
14541454+ */
14551455+export const zTypesParameterParameterArray = z.union([
14561456+ z.array(z.string()),
14571457+ z.null()
14581458+]);
14591459+14601460+/**
14611461+ * This is a dictionary parameter
14621462+ */
14631463+export const zTypesParameterParameterDictionary = z.union([
14641464+ z.object({}),
14651465+ z.null()
14661466+]);
14671467+14681468+/**
14691469+ * This is an enum parameter
14701470+ */
14711471+export const zTypesParameterParameterEnum = z.enum([
14721472+ 'Success',
14731473+ 'Warning',
14741474+ 'Error'
14751475+]);
14761476+10791477export const zTypesResponse = z.union([
10801478 z.number(),
10811479 z.string(),
···1085148310861484export const zUploadFileData = z.string();
1087148514861486+/**
14871487+ * api-version should be required in standalone clients
14881488+ */
14891489+export const zUploadFileParameterApiVersion = z.union([
14901490+ z.string(),
14911491+ z.null()
14921492+]);
14931493+10881494export const zUploadFileResponse = z.boolean();
1089149514961496+export const zFileResponseParameterId = z.string();
14971497+14981498+/**
14991499+ * api-version should be required in standalone clients
15001500+ */
15011501+export const zFileResponseParameterApiVersion = z.string();
15021502+10901503/**
10911504 * Success
10921505 */
10931506export const zFileResponseResponse = z.string();
1094150710951508/**
15091509+ * Parameter containing object
15101510+ */
15111511+export const zComplexTypesParameterParameterObject = z.object({
15121512+ first: z.object({
15131513+ second: z.object({
15141514+ third: z.string().optional()
15151515+ }).optional()
15161516+ }).optional()
15171517+});
15181518+15191519+/**
15201520+ * Parameter containing reference
15211521+ */
15221522+export const zComplexTypesParameterParameterReference = zModelWithString;
15231523+15241524+/**
10961525 * Successful response
10971526 */
10981527export const zComplexTypesResponse = z.array(zModelWithString);
···11541583 }).readonly().optional()
11551584});
1156158515861586+export const zComplexParamsParameterId = z.number().int();
15871587+15881588+/**
15891589+ * api-version should be required in standalone clients
15901590+ */
15911591+export const zComplexParamsParameterApiVersion = z.string();
15921592+11571593/**
11581594 * Success
11591595 */
11601596export const zComplexParamsResponse = zModelWithString;
15971597+15981598+/**
15991599+ * Status code to return
16001600+ */
16011601+export const zTestErrorCodeParameterStatus = z.number().int();
16021602+16031603+/**
16041604+ * Dummy input param
16051605+ */
16061606+export const zNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = z.number().int();
1161160711621608/**
11631609 * Successful response
···10571057]);
1058105810591059/**
10601060+ * Parameter with illegal characters
10611061+ */
10621062+export const vXFooBar = vModelWithString;
10631063+10641064+/**
10601065 * A reusable request body
10611066 */
10621067export const vSimpleRequestBody = vModelWithString;
···10821087export const vApiVVersionODataControllerCountResponse = vModelFromZendesk;
1083108810841089/**
10901090+ * foo in method
10911091+ */
10921092+export const vGetApiVbyApiVersionSimpleOperationParameterFooParam = v.string();
10931093+10941094+/**
10851095 * Response is a simple number
10861096 */
10871097export const vGetApiVbyApiVersionSimpleOperationResponse = v.number();
1088109810891099/**
11001100+ * foo in method
11011101+ */
11021102+export const vDeleteFooParameterFooParam = v.string();
11031103+11041104+/**
11051105+ * bar in method
11061106+ */
11071107+export const vDeleteFooParameterBarParam = v.string();
11081108+11091109+/**
11101110+ * Parameter with illegal characters
11111111+ */
11121112+export const vDeleteFooParameterXFooBar = vModelWithString;
11131113+11141114+/**
11151115+ * Testing multiline comments in string: First line
11161116+ * Second line
11171117+ *
11181118+ * Fourth line
11191119+ */
11201120+export const vCallWithDescriptionsParameterParameterWithBreaks = v.string();
11211121+11221122+/**
11231123+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
11241124+ */
11251125+export const vCallWithDescriptionsParameterParameterWithBackticks = v.string();
11261126+11271127+/**
11281128+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
11291129+ */
11301130+export const vCallWithDescriptionsParameterParameterWithSlashes = v.string();
11311131+11321132+/**
11331133+ * Testing expression placeholders in string: ${expression} should work
11341134+ */
11351135+export const vCallWithDescriptionsParameterParameterWithExpressionPlaceholders = v.string();
11361136+11371137+/**
11381138+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
11391139+ */
11401140+export const vCallWithDescriptionsParameterParameterWithQuotes = v.string();
11411141+11421142+/**
11431143+ * Testing reserved characters in string: * inline * and ** inline ** should work
11441144+ */
11451145+export const vCallWithDescriptionsParameterParameterWithReservedCharacters = v.string();
11461146+11471147+/**
11481148+ * This parameter is deprecated
11491149+ * @deprecated
11501150+ */
11511151+export const vDeprecatedCallParameterParameter = v.union([
11521152+ vDeprecatedModel,
11531153+ v.null()
11541154+]);
11551155+11561156+/**
10901157 * This is the parameter that goes into the body
10911158 */
10921159export const vCallWithParametersData = v.union([
···10951162]);
1096116310971164/**
11651165+ * This is the parameter that goes into the cookie
11661166+ */
11671167+export const vCallWithParametersParameterParameterCookie = v.union([
11681168+ v.string(),
11691169+ v.null()
11701170+]);
11711171+11721172+/**
11731173+ * This is the parameter that goes into the header
11741174+ */
11751175+export const vCallWithParametersParameterParameterHeader = v.union([
11761176+ v.string(),
11771177+ v.null()
11781178+]);
11791179+11801180+/**
11811181+ * This is the parameter that goes into the path
11821182+ */
11831183+export const vCallWithParametersParameterParameterPath = v.union([
11841184+ v.string(),
11851185+ v.null()
11861186+]);
11871187+11881188+/**
11891189+ * api-version should be required in standalone clients
11901190+ */
11911191+export const vCallWithParametersParameterApiVersion = v.union([
11921192+ v.string(),
11931193+ v.null()
11941194+]);
11951195+11961196+export const vCallWithParametersParameterFooRefEnum = vModelWithNestedArrayEnumsDataFoo;
11971197+11981198+export const vCallWithParametersParameterFooAllOfEnum = vModelWithNestedArrayEnumsDataFoo;
11991199+12001200+/**
12011201+ * This is the parameter that goes into the query params
12021202+ */
12031203+export const vCallWithParametersParameterCursor = v.union([
12041204+ v.string(),
12051205+ v.null()
12061206+]);
12071207+12081208+/**
10981209 * This is the parameter that goes into the body
10991210 */
11001211export const vCallWithWeirdParameterNamesData = v.union([
···11031214]);
1104121511051216/**
12171217+ * This is the parameter that goes into the cookie
12181218+ */
12191219+export const vCallWithWeirdParameterNamesParameterParameterCookie = v.union([
12201220+ v.string(),
12211221+ v.null()
12221222+]);
12231223+12241224+/**
12251225+ * This is the parameter that goes into the request header
12261226+ */
12271227+export const vCallWithWeirdParameterNamesParameterParameterHeader = v.union([
12281228+ v.string(),
12291229+ v.null()
12301230+]);
12311231+12321232+/**
12331233+ * This is the parameter that goes into the path
12341234+ */
12351235+export const vCallWithWeirdParameterNamesParameterParameterPath1 = v.string();
12361236+12371237+/**
12381238+ * This is the parameter that goes into the path
12391239+ */
12401240+export const vCallWithWeirdParameterNamesParameterParameterPath2 = v.string();
12411241+12421242+/**
12431243+ * This is the parameter that goes into the path
12441244+ */
12451245+export const vCallWithWeirdParameterNamesParameterParameterPath3 = v.string();
12461246+12471247+/**
12481248+ * api-version should be required in standalone clients
12491249+ */
12501250+export const vCallWithWeirdParameterNamesParameterApiVersion = v.union([
12511251+ v.string(),
12521252+ v.null()
12531253+]);
12541254+12551255+/**
12561256+ * This is the parameter with a reserved keyword
12571257+ */
12581258+export const vCallWithWeirdParameterNamesParameterDefault = v.string();
12591259+12601260+/**
12611261+ * This is the parameter that goes into the request query params
12621262+ */
12631263+export const vCallWithWeirdParameterNamesParameterParameterQuery = v.union([
12641264+ v.string(),
12651265+ v.null()
12661266+]);
12671267+12681268+/**
11061269 * This is a required parameter
11071270 */
11081271export const vGetCallWithOptionalParamData = vModelWithOneOfEnum;
12721272+12731273+/**
12741274+ * This is an optional parameter
12751275+ */
12761276+export const vGetCallWithOptionalParamParameterPage = v.number();
1109127711101278/**
11111279 * This is an optional parameter
···11171285 ]))
11181286});
1119128712881288+/**
12891289+ * This is a required parameter
12901290+ */
12911291+export const vPostCallWithOptionalParamParameterParameter = vPageable;
12921292+11201293export const vPostCallWithOptionalParamResponse = v.union([
11211294 v.number(),
11221295 v.void()
···11281301export const vPostApiVbyApiVersionRequestBodyData = vSimpleRequestBody;
1129130211301303/**
13041304+ * This is a reusable parameter
13051305+ */
13061306+export const vPostApiVbyApiVersionRequestBodyParameterParameter = v.string();
13071307+13081308+/**
11311309 * A reusable request body
11321310 */
11331311export const vPostApiVbyApiVersionFormDataData = vSimpleFormData;
1134131211351313/**
13141314+ * This is a reusable parameter
13151315+ */
13161316+export const vPostApiVbyApiVersionFormDataParameterParameter = v.string();
13171317+13181318+/**
13191319+ * This is a simple string with default value
13201320+ */
13211321+export const vCallWithDefaultParametersParameterParameterString = v.optional(v.union([
13221322+ v.optional(v.string(), 'Hello World!'),
13231323+ v.null()
13241324+]), 'Hello World!');
13251325+13261326+/**
13271327+ * This is a simple number with default value
13281328+ */
13291329+export const vCallWithDefaultParametersParameterParameterNumber = v.optional(v.union([
13301330+ v.optional(v.number(), 123),
13311331+ v.null()
13321332+]), 123);
13331333+13341334+/**
13351335+ * This is a simple boolean with default value
13361336+ */
13371337+export const vCallWithDefaultParametersParameterParameterBoolean = v.optional(v.union([
13381338+ v.optional(v.boolean(), true),
13391339+ v.null()
13401340+]), true);
13411341+13421342+/**
13431343+ * This is a simple enum with default value
13441344+ */
13451345+export const vCallWithDefaultParametersParameterParameterEnum = v.picklist([
13461346+ 'Success',
13471347+ 'Warning',
13481348+ 'Error'
13491349+]);
13501350+13511351+/**
13521352+ * This is a simple model with default value
13531353+ */
13541354+export const vCallWithDefaultParametersParameterParameterModel = v.union([
13551355+ vModelWithString,
13561356+ v.null()
13571357+]);
13581358+13591359+/**
13601360+ * This is a simple string that is optional with default value
13611361+ */
13621362+export const vCallWithDefaultOptionalParametersParameterParameterString = v.optional(v.string(), 'Hello World!');
13631363+13641364+/**
13651365+ * This is a simple number that is optional with default value
13661366+ */
13671367+export const vCallWithDefaultOptionalParametersParameterParameterNumber = v.optional(v.number(), 123);
13681368+13691369+/**
13701370+ * This is a simple boolean that is optional with default value
13711371+ */
13721372+export const vCallWithDefaultOptionalParametersParameterParameterBoolean = v.optional(v.boolean(), true);
13731373+13741374+/**
13751375+ * This is a simple enum that is optional with default value
13761376+ */
13771377+export const vCallWithDefaultOptionalParametersParameterParameterEnum = v.picklist([
13781378+ 'Success',
13791379+ 'Warning',
13801380+ 'Error'
13811381+]);
13821382+13831383+/**
13841384+ * This is a simple model that is optional with default value
13851385+ */
13861386+export const vCallWithDefaultOptionalParametersParameterParameterModel = vModelWithString;
13871387+13881388+/**
13891389+ * This is a optional string with default
13901390+ */
13911391+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = v.optional(v.string(), 'Hello World!');
13921392+13931393+/**
13941394+ * This is a optional string with empty default
13951395+ */
13961396+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = v.optional(v.string(), '');
13971397+13981398+/**
13991399+ * This is a optional string with no default
14001400+ */
14011401+export const vCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = v.string();
14021402+14031403+/**
14041404+ * This is a string with default
14051405+ */
14061406+export const vCallToTestOrderOfParamsParameterParameterStringWithDefault = v.optional(v.string(), 'Hello World!');
14071407+14081408+/**
14091409+ * This is a string with empty default
14101410+ */
14111411+export const vCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = v.optional(v.string(), '');
14121412+14131413+/**
14141414+ * This is a string with no default
14151415+ */
14161416+export const vCallToTestOrderOfParamsParameterParameterStringWithNoDefault = v.string();
14171417+14181418+/**
14191419+ * This is a string that can be null with no default
14201420+ */
14211421+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = v.union([
14221422+ v.string(),
14231423+ v.null()
14241424+]);
14251425+14261426+/**
14271427+ * This is a string that can be null with default
14281428+ */
14291429+export const vCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = v.optional(v.union([
14301430+ v.string(),
14311431+ v.null()
14321432+]), null);
14331433+14341434+/**
11361435 * Success
11371436 */
11381437export const vCallWithNoContentResponseResponse = v.void();
···11691468 vModelThatExtendsExtends
11701469]);
1171147014711471+/**
14721472+ * This is an array parameter that is sent as csv format (comma-separated values)
14731473+ */
14741474+export const vCollectionFormatParameterParameterArrayCsv = v.union([
14751475+ v.array(v.string()),
14761476+ v.null()
14771477+]);
14781478+14791479+/**
14801480+ * This is an array parameter that is sent as ssv format (space-separated values)
14811481+ */
14821482+export const vCollectionFormatParameterParameterArraySsv = v.union([
14831483+ v.array(v.string()),
14841484+ v.null()
14851485+]);
14861486+14871487+/**
14881488+ * This is an array parameter that is sent as tsv format (tab-separated values)
14891489+ */
14901490+export const vCollectionFormatParameterParameterArrayTsv = v.union([
14911491+ v.array(v.string()),
14921492+ v.null()
14931493+]);
14941494+14951495+/**
14961496+ * This is an array parameter that is sent as pipes format (pipe-separated values)
14971497+ */
14981498+export const vCollectionFormatParameterParameterArrayPipes = v.union([
14991499+ v.array(v.string()),
15001500+ v.null()
15011501+]);
15021502+15031503+/**
15041504+ * This is an array parameter that is sent as multi format (multiple parameter instances)
15051505+ */
15061506+export const vCollectionFormatParameterParameterArrayMulti = v.union([
15071507+ v.array(v.string()),
15081508+ v.null()
15091509+]);
15101510+15111511+/**
15121512+ * This is a number parameter
15131513+ */
15141514+export const vTypesParameterId = v.pipe(v.number(), v.integer());
15151515+15161516+/**
15171517+ * This is a number parameter
15181518+ */
15191519+export const vTypesParameterParameterNumber = v.optional(v.number(), 123);
15201520+15211521+/**
15221522+ * This is a string parameter
15231523+ */
15241524+export const vTypesParameterParameterString = v.optional(v.union([
15251525+ v.optional(v.string(), 'default'),
15261526+ v.null()
15271527+]), 'default');
15281528+15291529+/**
15301530+ * This is a boolean parameter
15311531+ */
15321532+export const vTypesParameterParameterBoolean = v.optional(v.union([
15331533+ v.optional(v.boolean(), true),
15341534+ v.null()
15351535+]), true);
15361536+15371537+/**
15381538+ * This is an object parameter
15391539+ */
15401540+export const vTypesParameterParameterObject = v.optional(v.union([
15411541+ v.object({}),
15421542+ v.null()
15431543+]), null);
15441544+15451545+/**
15461546+ * This is an array parameter
15471547+ */
15481548+export const vTypesParameterParameterArray = v.union([
15491549+ v.array(v.string()),
15501550+ v.null()
15511551+]);
15521552+15531553+/**
15541554+ * This is a dictionary parameter
15551555+ */
15561556+export const vTypesParameterParameterDictionary = v.union([
15571557+ v.object({}),
15581558+ v.null()
15591559+]);
15601560+15611561+/**
15621562+ * This is an enum parameter
15631563+ */
15641564+export const vTypesParameterParameterEnum = v.union([
15651565+ v.literal('Success'),
15661566+ v.literal('Warning'),
15671567+ v.literal('Error'),
15681568+ v.null()
15691569+]);
15701570+11721571export const vTypesResponse = v.union([
11731572 v.number(),
11741573 v.string(),
···1178157711791578export const vUploadFileData = v.string();
1180157915801580+/**
15811581+ * api-version should be required in standalone clients
15821582+ */
15831583+export const vUploadFileParameterApiVersion = v.union([
15841584+ v.string(),
15851585+ v.null()
15861586+]);
15871587+11811588export const vUploadFileResponse = v.boolean();
1182158915901590+export const vFileResponseParameterId = v.string();
15911591+15921592+/**
15931593+ * api-version should be required in standalone clients
15941594+ */
15951595+export const vFileResponseParameterApiVersion = v.string();
15961596+11831597/**
11841598 * Success
11851599 */
11861600export const vFileResponseResponse = v.string();
1187160111881602/**
16031603+ * Parameter containing object
16041604+ */
16051605+export const vComplexTypesParameterParameterObject = v.object({
16061606+ first: v.optional(v.object({
16071607+ second: v.optional(v.object({
16081608+ third: v.optional(v.string())
16091609+ }))
16101610+ }))
16111611+});
16121612+16131613+/**
16141614+ * Parameter containing reference
16151615+ */
16161616+export const vComplexTypesParameterParameterReference = vModelWithString;
16171617+16181618+/**
11891619 * Successful response
11901620 */
11911621export const vComplexTypesResponse = v.array(vModelWithString);
···12471677 }), v.readonly()))
12481678});
1249167916801680+export const vComplexParamsParameterId = v.pipe(v.number(), v.integer());
16811681+16821682+/**
16831683+ * api-version should be required in standalone clients
16841684+ */
16851685+export const vComplexParamsParameterApiVersion = v.string();
16861686+12501687/**
12511688 * Success
12521689 */
12531690export const vComplexParamsResponse = vModelWithString;
16911691+16921692+/**
16931693+ * Status code to return
16941694+ */
16951695+export const vTestErrorCodeParameterStatus = v.pipe(v.number(), v.integer());
16961696+16971697+/**
16981698+ * Dummy input param
16991699+ */
17001700+export const vNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = v.pipe(v.number(), v.integer());
1254170112551702/**
12561703 * Successful response
···964964]);
965965966966/**
967967+ * Parameter with illegal characters
968968+ */
969969+export const zXFooBar = zModelWithString;
970970+971971+/**
967972 * A reusable request body
968973 */
969974export const zSimpleRequestBody = zModelWithString;
···989994export const zApiVVersionODataControllerCountResponse = zModelFromZendesk;
990995991996/**
997997+ * foo in method
998998+ */
999999+export const zGetApiVbyApiVersionSimpleOperationParameterFooParam = z.string();
10001000+10011001+/**
9921002 * Response is a simple number
9931003 */
9941004export const zGetApiVbyApiVersionSimpleOperationResponse = z.number();
99510059961006/**
10071007+ * foo in method
10081008+ */
10091009+export const zDeleteFooParameterFooParam = z.string();
10101010+10111011+/**
10121012+ * bar in method
10131013+ */
10141014+export const zDeleteFooParameterBarParam = z.string();
10151015+10161016+/**
10171017+ * Parameter with illegal characters
10181018+ */
10191019+export const zDeleteFooParameterXFooBar = zModelWithString;
10201020+10211021+/**
10221022+ * Testing multiline comments in string: First line
10231023+ * Second line
10241024+ *
10251025+ * Fourth line
10261026+ */
10271027+export const zCallWithDescriptionsParameterParameterWithBreaks = z.string();
10281028+10291029+/**
10301030+ * Testing backticks in string: `backticks` and ```multiple backticks``` should work
10311031+ */
10321032+export const zCallWithDescriptionsParameterParameterWithBackticks = z.string();
10331033+10341034+/**
10351035+ * Testing slashes in string: \backwards\\\ and /forwards/// should work
10361036+ */
10371037+export const zCallWithDescriptionsParameterParameterWithSlashes = z.string();
10381038+10391039+/**
10401040+ * Testing expression placeholders in string: ${expression} should work
10411041+ */
10421042+export const zCallWithDescriptionsParameterParameterWithExpressionPlaceholders = z.string();
10431043+10441044+/**
10451045+ * Testing quotes in string: 'single quote''' and "double quotes""" should work
10461046+ */
10471047+export const zCallWithDescriptionsParameterParameterWithQuotes = z.string();
10481048+10491049+/**
10501050+ * Testing reserved characters in string: * inline * and ** inline ** should work
10511051+ */
10521052+export const zCallWithDescriptionsParameterParameterWithReservedCharacters = z.string();
10531053+10541054+/**
10551055+ * This parameter is deprecated
10561056+ * @deprecated
10571057+ */
10581058+export const zDeprecatedCallParameterParameter = z.union([
10591059+ zDeprecatedModel,
10601060+ z.null()
10611061+]);
10621062+10631063+/**
9971064 * This is the parameter that goes into the body
9981065 */
9991066export const zCallWithParametersData = z.union([
···10021069]);
1003107010041071/**
10721072+ * This is the parameter that goes into the cookie
10731073+ */
10741074+export const zCallWithParametersParameterParameterCookie = z.union([
10751075+ z.string(),
10761076+ z.null()
10771077+]);
10781078+10791079+/**
10801080+ * This is the parameter that goes into the header
10811081+ */
10821082+export const zCallWithParametersParameterParameterHeader = z.union([
10831083+ z.string(),
10841084+ z.null()
10851085+]);
10861086+10871087+/**
10881088+ * This is the parameter that goes into the path
10891089+ */
10901090+export const zCallWithParametersParameterParameterPath = z.union([
10911091+ z.string(),
10921092+ z.null()
10931093+]);
10941094+10951095+/**
10961096+ * api-version should be required in standalone clients
10971097+ */
10981098+export const zCallWithParametersParameterApiVersion = z.union([
10991099+ z.string(),
11001100+ z.null()
11011101+]);
11021102+11031103+export const zCallWithParametersParameterFooRefEnum = zModelWithNestedArrayEnumsDataFoo;
11041104+11051105+export const zCallWithParametersParameterFooAllOfEnum = zModelWithNestedArrayEnumsDataFoo;
11061106+11071107+/**
11081108+ * This is the parameter that goes into the query params
11091109+ */
11101110+export const zCallWithParametersParameterCursor = z.union([
11111111+ z.string(),
11121112+ z.null()
11131113+]);
11141114+11151115+/**
10051116 * This is the parameter that goes into the body
10061117 */
10071118export const zCallWithWeirdParameterNamesData = z.union([
···10101121]);
1011112210121123/**
11241124+ * This is the parameter that goes into the cookie
11251125+ */
11261126+export const zCallWithWeirdParameterNamesParameterParameterCookie = z.union([
11271127+ z.string(),
11281128+ z.null()
11291129+]);
11301130+11311131+/**
11321132+ * This is the parameter that goes into the request header
11331133+ */
11341134+export const zCallWithWeirdParameterNamesParameterParameterHeader = z.union([
11351135+ z.string(),
11361136+ z.null()
11371137+]);
11381138+11391139+/**
11401140+ * This is the parameter that goes into the path
11411141+ */
11421142+export const zCallWithWeirdParameterNamesParameterParameterPath1 = z.string();
11431143+11441144+/**
11451145+ * This is the parameter that goes into the path
11461146+ */
11471147+export const zCallWithWeirdParameterNamesParameterParameterPath2 = z.string();
11481148+11491149+/**
11501150+ * This is the parameter that goes into the path
11511151+ */
11521152+export const zCallWithWeirdParameterNamesParameterParameterPath3 = z.string();
11531153+11541154+/**
11551155+ * api-version should be required in standalone clients
11561156+ */
11571157+export const zCallWithWeirdParameterNamesParameterApiVersion = z.union([
11581158+ z.string(),
11591159+ z.null()
11601160+]);
11611161+11621162+/**
11631163+ * This is the parameter with a reserved keyword
11641164+ */
11651165+export const zCallWithWeirdParameterNamesParameterDefault = z.string();
11661166+11671167+/**
11681168+ * This is the parameter that goes into the request query params
11691169+ */
11701170+export const zCallWithWeirdParameterNamesParameterParameterQuery = z.union([
11711171+ z.string(),
11721172+ z.null()
11731173+]);
11741174+11751175+/**
10131176 * This is a required parameter
10141177 */
10151178export const zGetCallWithOptionalParamData = zModelWithOneOfEnum;
11791179+11801180+/**
11811181+ * This is an optional parameter
11821182+ */
11831183+export const zGetCallWithOptionalParamParameterPage = z.number();
1016118410171185/**
10181186 * This is an optional parameter
···10241192 ]).optional()
10251193});
1026119411951195+/**
11961196+ * This is a required parameter
11971197+ */
11981198+export const zPostCallWithOptionalParamParameterParameter = zPageable;
11991199+10271200export const zPostCallWithOptionalParamResponse = z.union([
10281201 z.number(),
10291202 z.void()
···10351208export const zPostApiVbyApiVersionRequestBodyData = zSimpleRequestBody;
1036120910371210/**
12111211+ * This is a reusable parameter
12121212+ */
12131213+export const zPostApiVbyApiVersionRequestBodyParameterParameter = z.string();
12141214+12151215+/**
10381216 * A reusable request body
10391217 */
10401218export const zPostApiVbyApiVersionFormDataData = zSimpleFormData;
1041121910421220/**
12211221+ * This is a reusable parameter
12221222+ */
12231223+export const zPostApiVbyApiVersionFormDataParameterParameter = z.string();
12241224+12251225+/**
12261226+ * This is a simple string with default value
12271227+ */
12281228+export const zCallWithDefaultParametersParameterParameterString = z.union([
12291229+ z.string().default('Hello World!'),
12301230+ z.null()
12311231+]).default('Hello World!');
12321232+12331233+/**
12341234+ * This is a simple number with default value
12351235+ */
12361236+export const zCallWithDefaultParametersParameterParameterNumber = z.union([
12371237+ z.number().default(123),
12381238+ z.null()
12391239+]).default(123);
12401240+12411241+/**
12421242+ * This is a simple boolean with default value
12431243+ */
12441244+export const zCallWithDefaultParametersParameterParameterBoolean = z.union([
12451245+ z.boolean().default(true),
12461246+ z.null()
12471247+]).default(true);
12481248+12491249+/**
12501250+ * This is a simple enum with default value
12511251+ */
12521252+export const zCallWithDefaultParametersParameterParameterEnum = z.enum([
12531253+ 'Success',
12541254+ 'Warning',
12551255+ 'Error'
12561256+]);
12571257+12581258+/**
12591259+ * This is a simple model with default value
12601260+ */
12611261+export const zCallWithDefaultParametersParameterParameterModel = z.union([
12621262+ zModelWithString,
12631263+ z.null()
12641264+]);
12651265+12661266+/**
12671267+ * This is a simple string that is optional with default value
12681268+ */
12691269+export const zCallWithDefaultOptionalParametersParameterParameterString = z.string().default('Hello World!');
12701270+12711271+/**
12721272+ * This is a simple number that is optional with default value
12731273+ */
12741274+export const zCallWithDefaultOptionalParametersParameterParameterNumber = z.number().default(123);
12751275+12761276+/**
12771277+ * This is a simple boolean that is optional with default value
12781278+ */
12791279+export const zCallWithDefaultOptionalParametersParameterParameterBoolean = z.boolean().default(true);
12801280+12811281+/**
12821282+ * This is a simple enum that is optional with default value
12831283+ */
12841284+export const zCallWithDefaultOptionalParametersParameterParameterEnum = z.enum([
12851285+ 'Success',
12861286+ 'Warning',
12871287+ 'Error'
12881288+]);
12891289+12901290+/**
12911291+ * This is a simple model that is optional with default value
12921292+ */
12931293+export const zCallWithDefaultOptionalParametersParameterParameterModel = zModelWithString;
12941294+12951295+/**
12961296+ * This is a optional string with default
12971297+ */
12981298+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithDefault = z.string().default('Hello World!');
12991299+13001300+/**
13011301+ * This is a optional string with empty default
13021302+ */
13031303+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithEmptyDefault = z.string().default('');
13041304+13051305+/**
13061306+ * This is a optional string with no default
13071307+ */
13081308+export const zCallToTestOrderOfParamsParameterParameterOptionalStringWithNoDefault = z.string();
13091309+13101310+/**
13111311+ * This is a string with default
13121312+ */
13131313+export const zCallToTestOrderOfParamsParameterParameterStringWithDefault = z.string().default('Hello World!');
13141314+13151315+/**
13161316+ * This is a string with empty default
13171317+ */
13181318+export const zCallToTestOrderOfParamsParameterParameterStringWithEmptyDefault = z.string().default('');
13191319+13201320+/**
13211321+ * This is a string with no default
13221322+ */
13231323+export const zCallToTestOrderOfParamsParameterParameterStringWithNoDefault = z.string();
13241324+13251325+/**
13261326+ * This is a string that can be null with no default
13271327+ */
13281328+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithNoDefault = z.union([
13291329+ z.string(),
13301330+ z.null()
13311331+]);
13321332+13331333+/**
13341334+ * This is a string that can be null with default
13351335+ */
13361336+export const zCallToTestOrderOfParamsParameterParameterStringNullableWithDefault = z.union([
13371337+ z.string(),
13381338+ z.null()
13391339+]).default(null);
13401340+13411341+/**
10431342 * Success
10441343 */
10451344export const zCallWithNoContentResponseResponse = z.void();
···10731372 zModelThatExtendsExtends
10741373]);
1075137413751375+/**
13761376+ * This is an array parameter that is sent as csv format (comma-separated values)
13771377+ */
13781378+export const zCollectionFormatParameterParameterArrayCsv = z.union([
13791379+ z.array(z.string()),
13801380+ z.null()
13811381+]);
13821382+13831383+/**
13841384+ * This is an array parameter that is sent as ssv format (space-separated values)
13851385+ */
13861386+export const zCollectionFormatParameterParameterArraySsv = z.union([
13871387+ z.array(z.string()),
13881388+ z.null()
13891389+]);
13901390+13911391+/**
13921392+ * This is an array parameter that is sent as tsv format (tab-separated values)
13931393+ */
13941394+export const zCollectionFormatParameterParameterArrayTsv = z.union([
13951395+ z.array(z.string()),
13961396+ z.null()
13971397+]);
13981398+13991399+/**
14001400+ * This is an array parameter that is sent as pipes format (pipe-separated values)
14011401+ */
14021402+export const zCollectionFormatParameterParameterArrayPipes = z.union([
14031403+ z.array(z.string()),
14041404+ z.null()
14051405+]);
14061406+14071407+/**
14081408+ * This is an array parameter that is sent as multi format (multiple parameter instances)
14091409+ */
14101410+export const zCollectionFormatParameterParameterArrayMulti = z.union([
14111411+ z.array(z.string()),
14121412+ z.null()
14131413+]);
14141414+14151415+/**
14161416+ * This is a number parameter
14171417+ */
14181418+export const zTypesParameterId = z.number().int();
14191419+14201420+/**
14211421+ * This is a number parameter
14221422+ */
14231423+export const zTypesParameterParameterNumber = z.number().default(123);
14241424+14251425+/**
14261426+ * This is a string parameter
14271427+ */
14281428+export const zTypesParameterParameterString = z.union([
14291429+ z.string().default('default'),
14301430+ z.null()
14311431+]).default('default');
14321432+14331433+/**
14341434+ * This is a boolean parameter
14351435+ */
14361436+export const zTypesParameterParameterBoolean = z.union([
14371437+ z.boolean().default(true),
14381438+ z.null()
14391439+]).default(true);
14401440+14411441+/**
14421442+ * This is an object parameter
14431443+ */
14441444+export const zTypesParameterParameterObject = z.union([
14451445+ z.object({}),
14461446+ z.null()
14471447+]).default(null);
14481448+14491449+/**
14501450+ * This is an array parameter
14511451+ */
14521452+export const zTypesParameterParameterArray = z.union([
14531453+ z.array(z.string()),
14541454+ z.null()
14551455+]);
14561456+14571457+/**
14581458+ * This is a dictionary parameter
14591459+ */
14601460+export const zTypesParameterParameterDictionary = z.union([
14611461+ z.object({}),
14621462+ z.null()
14631463+]);
14641464+14651465+/**
14661466+ * This is an enum parameter
14671467+ */
14681468+export const zTypesParameterParameterEnum = z.union([
14691469+ z.literal('Success'),
14701470+ z.literal('Warning'),
14711471+ z.literal('Error'),
14721472+ z.null()
14731473+]);
14741474+10761475export const zTypesResponse = z.union([
10771476 z.number(),
10781477 z.string(),
···1082148110831482export const zUploadFileData = z.string();
1084148314841484+/**
14851485+ * api-version should be required in standalone clients
14861486+ */
14871487+export const zUploadFileParameterApiVersion = z.union([
14881488+ z.string(),
14891489+ z.null()
14901490+]);
14911491+10851492export const zUploadFileResponse = z.boolean();
1086149314941494+export const zFileResponseParameterId = z.string();
14951495+14961496+/**
14971497+ * api-version should be required in standalone clients
14981498+ */
14991499+export const zFileResponseParameterApiVersion = z.string();
15001500+10871501/**
10881502 * Success
10891503 */
10901504export const zFileResponseResponse = z.string();
1091150510921506/**
15071507+ * Parameter containing object
15081508+ */
15091509+export const zComplexTypesParameterParameterObject = z.object({
15101510+ first: z.object({
15111511+ second: z.object({
15121512+ third: z.string().optional()
15131513+ }).optional()
15141514+ }).optional()
15151515+});
15161516+15171517+/**
15181518+ * Parameter containing reference
15191519+ */
15201520+export const zComplexTypesParameterParameterReference = zModelWithString;
15211521+15221522+/**
10931523 * Successful response
10941524 */
10951525export const zComplexTypesResponse = z.array(zModelWithString);
···11511581 }).readonly().optional()
11521582});
1153158315841584+export const zComplexParamsParameterId = z.number().int();
15851585+15861586+/**
15871587+ * api-version should be required in standalone clients
15881588+ */
15891589+export const zComplexParamsParameterApiVersion = z.string();
15901590+11541591/**
11551592 * Success
11561593 */
11571594export const zComplexParamsResponse = zModelWithString;
15951595+15961596+/**
15971597+ * Status code to return
15981598+ */
15991599+export const zTestErrorCodeParameterStatus = z.number().int();
16001600+16011601+/**
16021602+ * Dummy input param
16031603+ */
16041604+export const zNonAsciiæøåÆøÅöôêÊ字符串ParameterNonAsciiParamæøåÆøÅöôêÊ = z.number().int();
1158160511591606/**
11601607 * Successful response