-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[typescript-axios] attribute components.schemas.XXXX is missing but it isn't #6145
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
mistake in my open api spec |
Hi @paulfrench, what was your solution? I've experiencing the same issue and I can't wrap my head around it. Thanks in advance! |
I simply had mistakes in my spec e.g. I had...
...and it should have been...
What confused me at the time was I had a property named "items" in my json yet "items" is also used by the OAS spec when specifying an array. You may have similar issue. Hope it helps. |
Hi, thanks for your resolution. I had a similar problem. One of the schema properties
I removed the
Which resolved my problem. |
I download API as JSON resolved (https://app.swaggerhub.com/apis/AdvancedComputerSoft/e-commerce/1.0.25)
Using generator version 4.3.0 installed via npm I run....
I get...
However the open API is marked as valid on swaggerhub and imports fine into POSTMAN. I'm a newbie so apologies if this is stupid question but why can't I generate an SDK for this valid spec.
If I inspect the file visually I can see local $ref that should resolve fine to the above named attributes.
Many Thanks
The text was updated successfully, but these errors were encountered: