openapi-contrib / json-schema-to-openapi-schema

Due to the OpenAPI v3.0 and JSON Schema discrepancy, you can use this JS library to convert JSON Schema objects to OpenAPI Schema.
https://www.npmjs.com/package/@openapi-contrib/json-schema-to-openapi-schema
MIT License
111 stars 16 forks source link

Error for compiling by nodenext: Relative import paths #39

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hello, I started using your library recently and faced a problem with compiling for nodenext typescript esm modules. This is because of relative import: image The solution is go from image to image Can you fix this on your side? Best regards, Qdea

jonluca commented 1 year ago

Should be fixed in https://github.com/openapi-contrib/json-schema-to-openapi-schema/pull/40 sorry for the delay