We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.4.0
"inputFieldDependencies": { "type": "array", "description": "", "items": { "oneOf": [ { "$ref": "#/components/schemas/SingleFieldDependency" }, { "$ref": "#/components/schemas/ConditionalSingleFieldDependency" } ] } }
generate -i *.json -g typescript -o /dir --skip-validate-spec --additional-properties usePromises=true,supportsES6=true,platform=node
import { ConditionalSingleFieldDependency } from './ConditionalSingleFieldDependency'; import { SingleFieldDependency } from './SingleFieldDependency'; import { SingleFieldDependency | ConditionalSingleFieldDependency } from './SingleFieldDependency | ConditionalSingleFieldDependency';
It added incorrect import
Expected output
import { ConditionalSingleFieldDependency } from './ConditionalSingleFieldDependency'; import { SingleFieldDependency } from './SingleFieldDependency';
The text was updated successfully, but these errors were encountered:
initial PR #9628
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report Checklist
Description
openapi-generator version
5.4.0
OpenAPI declaration file content or url
Generation Details
generate -i *.json -g typescript -o /dir --skip-validate-spec --additional-properties usePromises=true,supportsES6=true,platform=node
Output
It added incorrect import
Expected output
The text was updated successfully, but these errors were encountered: