Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
2 months ago
Solved

@stoplight/cli does not allow to use a custom directory that includes both openapi spec and md files

Originally posted by user popsap to the Stoplight Community on 11/07/2023 at 15:58 ET.

When in the push command of the mentioned tool, I specify a custom directory inside the home directory (like "home-dir/api-docs") and the command cannot push to stoplight all the files from this directory. Among these files, there are an openapi spec, markdown files. The command only pushes openapi spec to stoplight and ignores markdown files. Seems to be the bug