···882882/**
883883 * Parameter with illegal characters
884884 */
885885-export type Parameterx_Foo_Bar = ModelWithString;
886886-887887-export type ImportData = {
888888- requestBody: ModelWithReadOnlyAndWriteOnly | ModelWithArrayReadOnlyAndWriteOnly;
889889-};
890890-891891-export type ImportResponse = Model_From_Zendesk | ModelWithReadOnlyAndWriteOnly;
892892-893893-export type ApiVversionOdataControllerCountResponse = Model_From_Zendesk;
894894-895895-export type DeleteFooData3 = {
896896- /**
897897- * bar in method
898898- */
899899- barParam: string;
900900- /**
901901- * foo in method
902902- */
903903- fooParam: string;
904904- /**
905905- * Parameter with illegal characters
906906- */
907907- xFooBar: ModelWithString;
908908-};
909909-910910-export type CallWithDescriptionsData = {
911911- /**
912912- * Testing backticks in string: `backticks` and ```multiple backticks``` should work
913913- */
914914- parameterWithBackticks?: unknown;
915915- /**
916916- * Testing multiline comments in string: First line
917917- * Second line
918918- *
919919- * Fourth line
920920- */
921921- parameterWithBreaks?: unknown;
922922- /**
923923- * Testing expression placeholders in string: ${expression} should work
924924- */
925925- parameterWithExpressionPlaceholders?: unknown;
926926- /**
927927- * Testing quotes in string: 'single quote''' and "double quotes""" should work
928928- */
929929- parameterWithQuotes?: unknown;
930930- /**
931931- * Testing reserved characters in string: * inline * and ** inline ** should work
932932- */
933933- parameterWithReservedCharacters?: unknown;
934934- /**
935935- * Testing slashes in string: \backwards\\\ and /forwards/// should work
936936- */
937937- parameterWithSlashes?: unknown;
938938-};
939939-940940-export type DeprecatedCallData = {
941941- /**
942942- * This parameter is deprecated
943943- * @deprecated
944944- */
945945- parameter: DeprecatedModel | null;
946946-};
947947-948948-export type CallWithParametersData = {
949949- fooAllOfEnum: ModelWithNestedArrayEnumsDataFoo;
950950- fooRefEnum?: ModelWithNestedArrayEnumsDataFoo;
951951- /**
952952- * This is the parameter that goes into the cookie
953953- */
954954- parameterCookie: string | null;
955955- /**
956956- * This is the parameter that goes into the header
957957- */
958958- parameterHeader: string | null;
959959- /**
960960- * This is the parameter that goes into the path
961961- */
962962- parameterPath: string | null;
963963- /**
964964- * This is the parameter that goes into the query params
965965- */
966966- parameterQuery: string | null;
967967- /**
968968- * This is the parameter that goes into the body
969969- */
970970- requestBody: {
971971- [key: string]: unknown;
972972- } | null;
973973-};
974974-975975-export type CallWithWeirdParameterNamesData = {
976976- /**
977977- * This is the parameter with a reserved keyword
978978- */
979979- _default?: string;
980980- /**
981981- * This is the parameter that goes into the cookie
982982- */
983983- parameterCookie: string | null;
984984- /**
985985- * This is the parameter that goes into the request header
986986- */
987987- parameterHeader: string | null;
988988- /**
989989- * This is the parameter that goes into the path
990990- */
991991- parameterPath1?: string;
992992- /**
993993- * This is the parameter that goes into the path
994994- */
995995- parameterPath2?: string;
996996- /**
997997- * This is the parameter that goes into the path
998998- */
999999- parameterPath3?: string;
10001000- /**
10011001- * This is the parameter that goes into the request query params
10021002- */
10031003- parameterQuery: string | null;
10041004- /**
10051005- * This is the parameter that goes into the body
10061006- */
10071007- requestBody: ModelWithString | null;
10081008-};
10091009-10101010-export type GetCallWithOptionalParamData = {
10111011- /**
10121012- * This is an optional parameter
10131013- */
10141014- parameter?: string;
10151015- /**
10161016- * This is a required parameter
10171017- */
10181018- requestBody: ModelWithOneOfEnum;
10191019-};
10201020-10211021-export type PostCallWithOptionalParamData = {
10221022- /**
10231023- * This is a required parameter
10241024- */
10251025- parameter: Pageable;
10261026- /**
10271027- * This is an optional parameter
10281028- */
10291029- requestBody?: ModelWithString;
10301030-};
10311031-10321032-export type PostApiRequestBodyData = {
10331033- /**
10341034- * A reusable request body
10351035- */
10361036- foo?: ModelWithString;
10371037- /**
10381038- * This is a reusable parameter
10391039- */
10401040- parameter?: string;
10411041-};
10421042-10431043-export type PostApiFormDataData = {
10441044- /**
10451045- * A reusable request body
10461046- */
10471047- formData?: ModelWithString;
10481048- /**
10491049- * This is a reusable parameter
10501050- */
10511051- parameter?: string;
10521052-};
10531053-10541054-export type CallWithDefaultParametersData = {
10551055- /**
10561056- * This is a simple boolean with default value
10571057- */
10581058- parameterBoolean?: boolean | null;
10591059- /**
10601060- * This is a simple enum with default value
10611061- */
10621062- parameterEnum?: 'Success' | 'Warning' | 'Error';
10631063- /**
10641064- * This is a simple model with default value
10651065- */
10661066- parameterModel?: ModelWithString | null;
10671067- /**
10681068- * This is a simple number with default value
10691069- */
10701070- parameterNumber?: number | null;
10711071- /**
10721072- * This is a simple string with default value
10731073- */
10741074- parameterString?: string | null;
10751075-};
10761076-10771077-export type CallWithDefaultOptionalParametersData = {
10781078- /**
10791079- * This is a simple boolean that is optional with default value
10801080- */
10811081- parameterBoolean?: boolean;
10821082- /**
10831083- * This is a simple enum that is optional with default value
10841084- */
10851085- parameterEnum?: 'Success' | 'Warning' | 'Error';
10861086- /**
10871087- * This is a simple model that is optional with default value
10881088- */
10891089- parameterModel?: ModelWithString;
10901090- /**
10911091- * This is a simple number that is optional with default value
10921092- */
10931093- parameterNumber?: number;
10941094- /**
10951095- * This is a simple string that is optional with default value
10961096- */
10971097- parameterString?: string;
10981098-};
10991099-11001100-export type CallToTestOrderOfParamsData = {
11011101- /**
11021102- * This is a optional string with default
11031103- */
11041104- parameterOptionalStringWithDefault?: string;
11051105- /**
11061106- * This is a optional string with empty default
11071107- */
11081108- parameterOptionalStringWithEmptyDefault?: string;
11091109- /**
11101110- * This is a optional string with no default
11111111- */
11121112- parameterOptionalStringWithNoDefault?: string;
11131113- /**
11141114- * This is a string that can be null with default
11151115- */
11161116- parameterStringNullableWithDefault?: string | null;
11171117- /**
11181118- * This is a string that can be null with no default
11191119- */
11201120- parameterStringNullableWithNoDefault?: string | null;
11211121- /**
11221122- * This is a string with default
11231123- */
11241124- parameterStringWithDefault: string;
11251125- /**
11261126- * This is a string with empty default
11271127- */
11281128- parameterStringWithEmptyDefault: string;
11291129- /**
11301130- * This is a string with no default
11311131- */
11321132- parameterStringWithNoDefault: string;
11331133-};
11341134-11351135-export type CallWithNoContentResponseResponse = void;
11361136-11371137-export type CallWithResponseAndNoContentResponseResponse = number | void;
11381138-11391139-export type DummyAResponse = _400;
11401140-11411141-export type DummyBResponse = void;
11421142-11431143-export type CallWithResponseResponse = _import;
11441144-11451145-export type CallWithDuplicateResponsesResponse = ModelWithBoolean & ModelWithInteger | ModelWithString;
11461146-11471147-export type CallWithResponsesResponse = {
11481148- readonly '@namespace.string'?: string;
11491149- readonly '@namespace.integer'?: number;
11501150- readonly value?: Array<ModelWithString>;
11511151-} | ModelThatExtends | ModelThatExtendsExtends;
11521152-11531153-export type CollectionFormatData = {
11541154- /**
11551155- * This is an array parameter that is sent as csv format (comma-separated values)
11561156- */
11571157- parameterArrayCsv: Array<(string)> | null;
11581158- /**
11591159- * This is an array parameter that is sent as multi format (multiple parameter instances)
11601160- */
11611161- parameterArrayMulti: Array<(string)> | null;
11621162- /**
11631163- * This is an array parameter that is sent as pipes format (pipe-separated values)
11641164- */
11651165- parameterArrayPipes: Array<(string)> | null;
11661166- /**
11671167- * This is an array parameter that is sent as ssv format (space-separated values)
11681168- */
11691169- parameterArraySsv: Array<(string)> | null;
11701170- /**
11711171- * This is an array parameter that is sent as tsv format (tab-separated values)
11721172- */
11731173- parameterArrayTsv: Array<(string)> | null;
11741174-};
11751175-11761176-export type TypesData = {
11771177- /**
11781178- * This is a number parameter
11791179- */
11801180- id?: number;
11811181- /**
11821182- * This is an array parameter
11831183- */
11841184- parameterArray: Array<(string)> | null;
11851185- /**
11861186- * This is a boolean parameter
11871187- */
11881188- parameterBoolean: boolean | null;
11891189- /**
11901190- * This is a dictionary parameter
11911191- */
11921192- parameterDictionary: {
11931193- [key: string]: unknown;
11941194- } | null;
11951195- /**
11961196- * This is an enum parameter
11971197- */
11981198- parameterEnum: 'Success' | 'Warning' | 'Error' | null;
11991199- /**
12001200- * This is a number parameter
12011201- */
12021202- parameterNumber: number;
12031203- /**
12041204- * This is an object parameter
12051205- */
12061206- parameterObject: {
12071207- [key: string]: unknown;
12081208- } | null;
12091209- /**
12101210- * This is a string parameter
12111211- */
12121212- parameterString: string | null;
12131213-};
12141214-12151215-export type TypesResponse = number | string | boolean | {
12161216- [key: string]: unknown;
12171217-};
12181218-12191219-export type UploadFileData = {
12201220- formData: (Blob | File);
12211221-};
12221222-12231223-export type UploadFileResponse = boolean;
12241224-12251225-export type FileResponseData = {
12261226- id: string;
12271227-};
12281228-12291229-export type FileResponseResponse = (Blob | File);
12301230-12311231-export type ComplexTypesData = {
12321232- /**
12331233- * Parameter containing object
12341234- */
12351235- parameterObject: {
12361236- first?: {
12371237- second?: {
12381238- third?: string;
12391239- };
12401240- };
12411241- };
12421242- /**
12431243- * Parameter containing reference
12441244- */
12451245- parameterReference: ModelWithString;
12461246-};
12471247-12481248-export type ComplexTypesResponse = Array<ModelWithString>;
12491249-12501250-export type MultipartRequestData = {
12511251- formData?: {
12521252- content?: (Blob | File);
12531253- data?: ModelWithString | null;
12541254- };
12551255-};
12561256-12571257-export type MultipartResponseResponse = {
12581258- file?: (Blob | File);
12591259- metadata?: {
12601260- foo?: string;
12611261- bar?: string;
12621262- };
12631263-};
12641264-12651265-export type ComplexParamsData = {
12661266- id: number;
12671267- requestBody?: {
12681268- readonly key: string | null;
12691269- name: string | null;
12701270- enabled?: boolean;
12711271- readonly type: 'Monkey' | 'Horse' | 'Bird';
12721272- listOfModels?: Array<ModelWithString> | null;
12731273- listOfStrings?: Array<(string)> | null;
12741274- parameters: ModelWithString | ModelWithEnum | ModelWithArray | ModelWithDictionary;
12751275- readonly user?: {
12761276- readonly id?: number;
12771277- readonly name?: string | null;
12781278- };
12791279- };
12801280-};
12811281-12821282-export type ComplexParamsResponse = ModelWithString;
12831283-12841284-export type CallWithResultFromHeaderResponse = string;
12851285-12861286-export type TestErrorCodeData = {
12871287- /**
12881288- * Status code to return
12891289- */
12901290- status: number;
12911291-};
12921292-12931293-export type TestErrorCodeResponse = unknown;
12941294-12951295-export type NonAsciiæøåÆøÅöôêÊ字符串Data = {
12961296- /**
12971297- * Dummy input param
12981298- */
12991299- nonAsciiParamæøåÆøÅöôêÊ: number;
13001300-};
13011301-13021302-export type NonAsciiæøåÆøÅöôêÊ字符串Response = Array<NonAsciiStringæøåÆØÅöôêÊ字符串>;
13031303-13041304-export type PutWithFormUrlEncodedData = {
13051305- formData: ArrayWithStrings;
13061306-};885885+export type Parameterx_Foo_Bar = ModelWithString;