forked from loafle/openapi-generator-original
[typescript-fetch] Remove a cycle in the discriminator dependency graph. (#18503)
This commit is contained in:
parent
8cb23db8c0
commit
67a504a2f3
@ -11,12 +11,9 @@ import {
|
|||||||
|
|
||||||
{{/hasImports}}
|
{{/hasImports}}
|
||||||
{{#discriminator}}
|
{{#discriminator}}
|
||||||
import {
|
|
||||||
{{#discriminator.mappedModels}}
|
{{#discriminator.mappedModels}}
|
||||||
{{modelName}}FromJSONTyped{{^-last}},{{/-last}}
|
import { {{modelName}}FromJSONTyped } from './{{modelName}}{{importFileExtension}}';
|
||||||
{{/discriminator.mappedModels}}
|
{{/discriminator.mappedModels}}
|
||||||
} from './index{{importFileExtension}}';
|
|
||||||
|
|
||||||
{{/discriminator}}
|
{{/discriminator}}
|
||||||
{{>modelGenericInterfaces}}
|
{{>modelGenericInterfaces}}
|
||||||
|
|
||||||
|
@ -13,11 +13,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
import { mapValues } from '../runtime';
|
||||||
import {
|
import { CatFromJSONTyped } from './Cat';
|
||||||
CatFromJSONTyped,
|
import { DogFromJSONTyped } from './Dog';
|
||||||
DogFromJSONTyped
|
|
||||||
} from './index';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -13,10 +13,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
import { mapValues } from '../runtime';
|
||||||
import {
|
import { ChildWithNullableFromJSONTyped } from './ChildWithNullable';
|
||||||
ChildWithNullableFromJSONTyped
|
|
||||||
} from './index';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
@ -13,11 +13,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import { mapValues } from '../runtime';
|
import { mapValues } from '../runtime';
|
||||||
import {
|
import { CatFromJSONTyped } from './Cat';
|
||||||
CatFromJSONTyped,
|
import { DogFromJSONTyped } from './Dog';
|
||||||
DogFromJSONTyped
|
|
||||||
} from './index';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @export
|
* @export
|
||||||
|
Loading…
x
Reference in New Issue
Block a user