Skip to content
New issue

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

issue on - generate client when yaml has mutiple same external ref #1676

Open
1 of 2 tasks
aaronxiang0926 opened this issue May 24, 2024 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working openapi-ts Relevant to the openapi-typescript library

Comments

@aaronxiang0926
Copy link

aaronxiang0926 commented May 24, 2024

Description

A brief description of the bug.

issue on - generate client when yaml has mutiple same external ref

Paste full error message
Name Version
openapi-typescript 0.46.2
Node.js 18
OS + version Windows 11,

Reproduction
in my yaml file:
image

How can this be reproduced / when did the error occur?

npx openapi-ts -c node/fetch xxx.yaml -o ./tmp
after execute the generate command , the issue will be follow:

image

Expected result

(in case it’s not obvious)

Checklist

@aaronxiang0926 aaronxiang0926 added bug Something isn't working openapi-ts Relevant to the openapi-typescript library labels May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working openapi-ts Relevant to the openapi-typescript library
Projects
None yet
Development

No branches or pull requests

1 participant