ouropencode / OpenDocumenter

OpenDocumenter is a automatic documentation generator for OpenAPI v3 schemas. Simply provide your schema file in JSON or YAML, then sit back and enjoy the documentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error opening file (schema)

0xZakk opened this issue · comments

Describe the bug
I'm getting the following error when I try to run the generator:

!!! Aborting due to error: Error opening file 

To Reproduce
Steps to reproduce the behavior:

  1. Run npx opendocumenter --schema=schema.yaml --output=docs

Thank you for opening your first issue! Please ensure you've read the CONTRIBUTING.md and CODE_OF_CONDUCT.md files.

Figured out the issue!

My schem was Chios-InformedConsent-API.v01.yaml and renaming it to Chios-InformedConsent-API-v01.yaml fixed the issue