You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found an interesting issue with openapiTS: adding one more call of this function in tests/remote-schema/remote-schema.test.ts makes it fails. You may try to run this and you with get the following error:
importpathfrom"path";importopenapiTSfrom"../../src/index";describe("remote $refs",()=>{it("resolves remote $refs",async()=>{// vvv Add this line vvvawaitopenapiTS(path.join(__dirname,"spec","spec.yml"));consttypes=awaitopenapiTS(path.join(__dirname,"spec","spec.yml"));expect(types).toEqual(`/** * This file was auto-generated by openapi-typescript. * Do not make direct changes to the file. */…(contentnotchanged)
The Error message: 🚏 version missing from schema; specify whether this is OpenAPI v3 or v2 https://swagger.io/specification
The text was updated successfully, but these errors were encountered:
Hey,
I've found an interesting issue with openapiTS: adding one more call of this function in tests/remote-schema/remote-schema.test.ts makes it fails. You may try to run this and you with get the following error:
The Error message:
🚏 version missing from schema; specify whether this is OpenAPI v3 or v2 https://swagger.io/specification
The text was updated successfully, but these errors were encountered: