ferdikoomen / openapi-typescript-codegen

NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
MIT License
2.79k stars 513 forks source link

 WARN deprecated json-schema-ref-parser@9.0.9: Please switch to @apidevtools/json-schema-ref-parser #1708

Open BierDav opened 10 months ago

BierDav commented 10 months ago

Describe the bug Please switch to @apidevtools/json-schema-ref-parser, because pnpm i reminds me everytime of this 🙂

mmospanenko commented 4 months ago

it doesn't work on windows, return wrong path (joins input value and its own node_modules root)

mrlubos commented 4 months ago

@mmospanenko curious, how do you work around this bug?

mmospanenko commented 4 months ago

Posted here, I think the idea is clear)

https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2052

mrlubos commented 4 months ago

@mmospanenko yep, already commented on it!

mrlubos commented 4 months ago

@BierDav we've got the latest version of @apidevtools/json-schema-ref-parser working in @nicolas-chaulet/openapi-typescript-codegen, does that resolve your warnings?

BierDav commented 4 months ago

Thanks for your fix. It seams to work now, but i have not excessively tested it

mrlubos commented 4 months ago

That's awesome @BierDav! All credit goes to @tajnymag