syroegkin / swagger-markdown

swagger to markdown transpiler
MIT License
233 stars 87 forks source link

Error: Error resolving $ref pointer #169

Closed carlospaulino closed 1 year ago

carlospaulino commented 2 years ago

The script fails to render markdown when a $ref pointer points to a file that's inside a subdirectory.

It works well if the file resides in the same directory.

A project with the following structure will fail. --docs ----schemas ------type1.yaml ------type2.yaml ----api.yaml (has $refs to type1 and type2)

syroegkin commented 1 year ago

:tada: This issue has been resolved in version 2.2.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: