Skip to content

mockoon.cli in docker with YAML #1159

Answered by 255kb
kockas asked this question in Help
Oct 3, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

After analyzing the file you sent me, could it be possible that you forgot to COPY the files that are referenced in your specification: $ref: "./file-name.openapi.yaml", etc. ?

The CLI is testing first if it's an OpenAPI spec file, if not it will try to parse as JSON. There is no error reporting on the first step. I will improve that for the next release.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kockas
Comment options

@255kb
Comment options

Answer selected by kockas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants