openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

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

Open aaronxiang0926 opened this issue 1 year ago • 0 comments

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 avatar May 24 '24 07:05 aaronxiang0926