forked from loafle/openapi-generator-original
using import type instead of import for types imports (#12534)
This commit is contained in:
@@ -4,15 +4,19 @@
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
{{#imports.0}}
|
||||
import type {
|
||||
{{#imports}}
|
||||
{{className}},
|
||||
{{/imports}}
|
||||
} from '../models';
|
||||
{{^withoutRuntimeChecks}}
|
||||
import {
|
||||
{{#imports}}
|
||||
{{className}},
|
||||
{{^withoutRuntimeChecks}}
|
||||
{{className}}FromJSON,
|
||||
{{className}}ToJSON,
|
||||
{{/withoutRuntimeChecks}}
|
||||
{{/imports}}
|
||||
} from '../models';
|
||||
{{/withoutRuntimeChecks}}
|
||||
{{/imports.0}}
|
||||
|
||||
{{#operations}}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { exists, mapValues } from '../runtime';
|
||||
{{#hasImports}}
|
||||
{{#imports}}
|
||||
import type { {{{.}}} } from './{{.}}';
|
||||
import {
|
||||
{{{.}}},
|
||||
{{.}}FromJSON,
|
||||
{{.}}FromJSONTyped,
|
||||
{{.}}ToJSON,
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Client,
|
||||
} from '../models';
|
||||
import {
|
||||
Client,
|
||||
ClientFromJSON,
|
||||
ClientToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
FooGetDefaultResponse,
|
||||
} from '../models';
|
||||
import {
|
||||
FooGetDefaultResponse,
|
||||
FooGetDefaultResponseFromJSON,
|
||||
FooGetDefaultResponseToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,29 +14,31 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Client,
|
||||
EnumClass,
|
||||
FileSchemaTestClass,
|
||||
HealthCheckResult,
|
||||
OuterComposite,
|
||||
OuterObjectWithEnumProperty,
|
||||
Pet,
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
Client,
|
||||
ClientFromJSON,
|
||||
ClientToJSON,
|
||||
EnumClass,
|
||||
EnumClassFromJSON,
|
||||
EnumClassToJSON,
|
||||
FileSchemaTestClass,
|
||||
FileSchemaTestClassFromJSON,
|
||||
FileSchemaTestClassToJSON,
|
||||
HealthCheckResult,
|
||||
HealthCheckResultFromJSON,
|
||||
HealthCheckResultToJSON,
|
||||
OuterComposite,
|
||||
OuterCompositeFromJSON,
|
||||
OuterCompositeToJSON,
|
||||
OuterObjectWithEnumProperty,
|
||||
OuterObjectWithEnumPropertyFromJSON,
|
||||
OuterObjectWithEnumPropertyToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Client,
|
||||
} from '../models';
|
||||
import {
|
||||
Client,
|
||||
ClientFromJSON,
|
||||
ClientToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { SingleRefType } from './SingleRefType';
|
||||
import {
|
||||
SingleRefType,
|
||||
SingleRefTypeFromJSON,
|
||||
SingleRefTypeFromJSONTyped,
|
||||
SingleRefTypeToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ReadOnlyFirst } from './ReadOnlyFirst';
|
||||
import {
|
||||
ReadOnlyFirst,
|
||||
ReadOnlyFirstFromJSON,
|
||||
ReadOnlyFirstFromJSONTyped,
|
||||
ReadOnlyFirstToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Animal } from './Animal';
|
||||
import {
|
||||
Animal,
|
||||
AnimalFromJSON,
|
||||
AnimalFromJSONTyped,
|
||||
AnimalToJSON,
|
||||
} from './Animal';
|
||||
import type { CatAllOf } from './CatAllOf';
|
||||
import {
|
||||
CatAllOf,
|
||||
CatAllOfFromJSON,
|
||||
CatAllOfFromJSONTyped,
|
||||
CatAllOfToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Animal } from './Animal';
|
||||
import {
|
||||
Animal,
|
||||
AnimalFromJSON,
|
||||
AnimalFromJSONTyped,
|
||||
AnimalToJSON,
|
||||
} from './Animal';
|
||||
import type { DogAllOf } from './DogAllOf';
|
||||
import {
|
||||
DogAllOf,
|
||||
DogAllOfFromJSON,
|
||||
DogAllOfFromJSONTyped,
|
||||
DogAllOfToJSON,
|
||||
|
||||
@@ -13,26 +13,26 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { OuterEnum } from './OuterEnum';
|
||||
import {
|
||||
OuterEnum,
|
||||
OuterEnumFromJSON,
|
||||
OuterEnumFromJSONTyped,
|
||||
OuterEnumToJSON,
|
||||
} from './OuterEnum';
|
||||
import type { OuterEnumDefaultValue } from './OuterEnumDefaultValue';
|
||||
import {
|
||||
OuterEnumDefaultValue,
|
||||
OuterEnumDefaultValueFromJSON,
|
||||
OuterEnumDefaultValueFromJSONTyped,
|
||||
OuterEnumDefaultValueToJSON,
|
||||
} from './OuterEnumDefaultValue';
|
||||
import type { OuterEnumInteger } from './OuterEnumInteger';
|
||||
import {
|
||||
OuterEnumInteger,
|
||||
OuterEnumIntegerFromJSON,
|
||||
OuterEnumIntegerFromJSONTyped,
|
||||
OuterEnumIntegerToJSON,
|
||||
} from './OuterEnumInteger';
|
||||
import type { OuterEnumIntegerDefaultValue } from './OuterEnumIntegerDefaultValue';
|
||||
import {
|
||||
OuterEnumIntegerDefaultValue,
|
||||
OuterEnumIntegerDefaultValueFromJSON,
|
||||
OuterEnumIntegerDefaultValueFromJSONTyped,
|
||||
OuterEnumIntegerDefaultValueToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Foo } from './Foo';
|
||||
import {
|
||||
Foo,
|
||||
FooFromJSON,
|
||||
FooFromJSONTyped,
|
||||
FooToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Decimal } from './Decimal';
|
||||
import {
|
||||
Decimal,
|
||||
DecimalFromJSON,
|
||||
DecimalFromJSONTyped,
|
||||
DecimalToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Animal } from './Animal';
|
||||
import {
|
||||
Animal,
|
||||
AnimalFromJSON,
|
||||
AnimalFromJSONTyped,
|
||||
AnimalToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { DeprecatedObject } from './DeprecatedObject';
|
||||
import {
|
||||
DeprecatedObject,
|
||||
DeprecatedObjectFromJSON,
|
||||
DeprecatedObjectFromJSONTyped,
|
||||
DeprecatedObjectToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { OuterEnumInteger } from './OuterEnumInteger';
|
||||
import {
|
||||
OuterEnumInteger,
|
||||
OuterEnumIntegerFromJSON,
|
||||
OuterEnumIntegerFromJSONTyped,
|
||||
OuterEnumIntegerToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,17 +14,19 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
EnumPatternObject,
|
||||
FakeEnumRequestGetInline200Response,
|
||||
NumberEnum,
|
||||
StringEnum,
|
||||
} from '../models';
|
||||
import {
|
||||
EnumPatternObject,
|
||||
EnumPatternObjectFromJSON,
|
||||
EnumPatternObjectToJSON,
|
||||
FakeEnumRequestGetInline200Response,
|
||||
FakeEnumRequestGetInline200ResponseFromJSON,
|
||||
FakeEnumRequestGetInline200ResponseToJSON,
|
||||
NumberEnum,
|
||||
NumberEnumFromJSON,
|
||||
NumberEnumToJSON,
|
||||
StringEnum,
|
||||
StringEnumFromJSON,
|
||||
StringEnumToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { NumberEnum } from './NumberEnum';
|
||||
import {
|
||||
NumberEnum,
|
||||
NumberEnumFromJSON,
|
||||
NumberEnumFromJSONTyped,
|
||||
NumberEnumToJSON,
|
||||
} from './NumberEnum';
|
||||
import type { StringEnum } from './StringEnum';
|
||||
import {
|
||||
StringEnum,
|
||||
StringEnumFromJSON,
|
||||
StringEnumFromJSONTyped,
|
||||
StringEnumToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
GetBehaviorPermissionsResponse,
|
||||
GetBehaviorTypeResponse,
|
||||
} from '../models';
|
||||
import {
|
||||
GetBehaviorPermissionsResponse,
|
||||
GetBehaviorPermissionsResponseFromJSON,
|
||||
GetBehaviorPermissionsResponseToJSON,
|
||||
GetBehaviorTypeResponse,
|
||||
GetBehaviorTypeResponseFromJSON,
|
||||
GetBehaviorTypeResponseToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,23 +14,25 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Category,
|
||||
FindPetsByStatusResponse,
|
||||
FindPetsByUserResponse,
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
PetRegionsResponse,
|
||||
} from '../models';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryToJSON,
|
||||
FindPetsByStatusResponse,
|
||||
FindPetsByStatusResponseFromJSON,
|
||||
FindPetsByStatusResponseToJSON,
|
||||
FindPetsByUserResponse,
|
||||
FindPetsByUserResponseFromJSON,
|
||||
FindPetsByUserResponseToJSON,
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
PetRegionsResponse,
|
||||
PetRegionsResponseFromJSON,
|
||||
PetRegionsResponseToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
GetMatchingPartsResponse,
|
||||
GetPetPartTypeResponse,
|
||||
} from '../models';
|
||||
import {
|
||||
GetMatchingPartsResponse,
|
||||
GetMatchingPartsResponseFromJSON,
|
||||
GetMatchingPartsResponseToJSON,
|
||||
GetPetPartTypeResponse,
|
||||
GetPetPartTypeResponseFromJSON,
|
||||
GetPetPartTypeResponseToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
DefaultMetaOnlyResponse,
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
DefaultMetaOnlyResponse,
|
||||
DefaultMetaOnlyResponseFromJSON,
|
||||
DefaultMetaOnlyResponseToJSON,
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Pet } from './Pet';
|
||||
import {
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetFromJSONTyped,
|
||||
PetToJSON,
|
||||
} from './Pet';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
} from './ResponseMeta';
|
||||
import type { User } from './User';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserFromJSONTyped,
|
||||
UserToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { BehaviorType } from './BehaviorType';
|
||||
import {
|
||||
BehaviorType,
|
||||
BehaviorTypeFromJSON,
|
||||
BehaviorTypeFromJSONTyped,
|
||||
BehaviorTypeToJSON,
|
||||
} from './BehaviorType';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { MatchingParts } from './MatchingParts';
|
||||
import {
|
||||
MatchingParts,
|
||||
MatchingPartsFromJSON,
|
||||
MatchingPartsFromJSONTyped,
|
||||
MatchingPartsToJSON,
|
||||
} from './MatchingParts';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { PetPartType } from './PetPartType';
|
||||
import {
|
||||
PetPartType,
|
||||
PetPartTypeFromJSON,
|
||||
PetPartTypeFromJSONTyped,
|
||||
PetPartTypeToJSON,
|
||||
} from './PetPartType';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Part } from './Part';
|
||||
import {
|
||||
Part,
|
||||
PartFromJSON,
|
||||
PartFromJSONTyped,
|
||||
PartToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ItemId } from './ItemId';
|
||||
import {
|
||||
ItemId,
|
||||
ItemIdFromJSON,
|
||||
ItemIdFromJSONTyped,
|
||||
ItemIdToJSON,
|
||||
|
||||
@@ -13,26 +13,26 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { DeploymentRequestStatus } from './DeploymentRequestStatus';
|
||||
import {
|
||||
DeploymentRequestStatus,
|
||||
DeploymentRequestStatusFromJSON,
|
||||
DeploymentRequestStatusFromJSONTyped,
|
||||
DeploymentRequestStatusToJSON,
|
||||
} from './DeploymentRequestStatus';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
} from './Tag';
|
||||
import type { WarningCode } from './WarningCode';
|
||||
import {
|
||||
WarningCode,
|
||||
WarningCodeFromJSON,
|
||||
WarningCodeFromJSONTyped,
|
||||
WarningCodeToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ResponseMeta } from './ResponseMeta';
|
||||
import {
|
||||
ResponseMeta,
|
||||
ResponseMetaFromJSON,
|
||||
ResponseMetaFromJSONTyped,
|
||||
ResponseMetaToJSON,
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { ErrorCode } from './ErrorCode';
|
||||
import {
|
||||
ErrorCode,
|
||||
ErrorCodeFromJSON,
|
||||
ErrorCodeFromJSONTyped,
|
||||
ErrorCodeToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,11 +14,13 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
ModelApiResponseFromJSON,
|
||||
ModelApiResponseToJSON,
|
||||
Pet,
|
||||
PetFromJSON,
|
||||
PetToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
import {
|
||||
Order,
|
||||
OrderFromJSON,
|
||||
OrderToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -14,8 +14,10 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
import {
|
||||
User,
|
||||
UserFromJSON,
|
||||
UserToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { Category } from './Category';
|
||||
import {
|
||||
Category,
|
||||
CategoryFromJSON,
|
||||
CategoryFromJSONTyped,
|
||||
CategoryToJSON,
|
||||
} from './Category';
|
||||
import type { Tag } from './Tag';
|
||||
import {
|
||||
Tag,
|
||||
TagFromJSON,
|
||||
TagFromJSONTyped,
|
||||
TagToJSON,
|
||||
|
||||
@@ -14,17 +14,19 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import type {
|
||||
EnumPatternObject,
|
||||
FakeEnumRequestGetInline200Response,
|
||||
NumberEnum,
|
||||
StringEnum,
|
||||
} from '../models';
|
||||
import {
|
||||
EnumPatternObject,
|
||||
EnumPatternObjectFromJSON,
|
||||
EnumPatternObjectToJSON,
|
||||
FakeEnumRequestGetInline200Response,
|
||||
FakeEnumRequestGetInline200ResponseFromJSON,
|
||||
FakeEnumRequestGetInline200ResponseToJSON,
|
||||
NumberEnum,
|
||||
NumberEnumFromJSON,
|
||||
NumberEnumToJSON,
|
||||
StringEnum,
|
||||
StringEnumFromJSON,
|
||||
StringEnumToJSON,
|
||||
} from '../models';
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
*/
|
||||
|
||||
import { exists, mapValues } from '../runtime';
|
||||
import type { NumberEnum } from './NumberEnum';
|
||||
import {
|
||||
NumberEnum,
|
||||
NumberEnumFromJSON,
|
||||
NumberEnumFromJSONTyped,
|
||||
NumberEnumToJSON,
|
||||
} from './NumberEnum';
|
||||
import type { StringEnum } from './StringEnum';
|
||||
import {
|
||||
StringEnum,
|
||||
StringEnumFromJSON,
|
||||
StringEnumFromJSONTyped,
|
||||
StringEnumToJSON,
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
import type {
|
||||
ModelApiResponse,
|
||||
Pet,
|
||||
} from '../models';
|
||||
|
||||
export interface AddPetRequest {
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import {
|
||||
Order,
|
||||
import type {
|
||||
Order,
|
||||
} from '../models';
|
||||
|
||||
export interface DeleteOrderRequest {
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
|
||||
import * as runtime from '../runtime';
|
||||
import {
|
||||
User,
|
||||
import type {
|
||||
User,
|
||||
} from '../models';
|
||||
|
||||
export interface CreateUserRequest {
|
||||
|
||||
Reference in New Issue
Block a user