question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

preview-docs command does not read entrypoint from config file

See original GitHub issue

Since version 1.0.0-beta.1, it seems that the preview-docs command does no longer attempt to check the configuration file (.redocly.yaml) for where the specification is located. That means that the entrypoint parameter for the command is now required, even if the configuration file exists and has a path to the specification defined in the apiDefinitions sections.

In the older versions (0.x.x), the command used to check the config file and use the path from there if it exists, so specifying the entrypoint parameter was then not needed. It’s also now inconsistent with the other commands (lint and bundle), since these do use the path from the config file.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
RomanHotsiycommented, Jul 15, 2020

@Blacklands just fyi: landed in 1.0.0-beta.4

1reaction
RomanHotsiycommented, Jul 14, 2020

It will land in the upcoming release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why won't my docker-entrypoint.sh execute? - Stack Overflow
Here is a command to go along with this answer. dos2unix is the linux command to change line endings for multiple files. –...
Read more >
entrypoint defined in docker-compose.yml wipes out CMD ...
The docker-compose.yml in the example implies that the command is not deleted, if the entrypoint is set in a compose file.
Read more >
Demystifying ENTRYPOINT and CMD in Docker - AWS
For example, suppose your service was written to read its configuration from a file instead of from environment variables. In such a situation, ......
Read more >
Gitlab Dockerfiles build not setting Entrypoint and CMD ...
When building a container on gitlab which specifies the CMD ["/usr/local/bin/docker-entrypoint"] in the Dockerfile using Gitlab auto devops ...
Read more >
Redocly tutorial -- authoring and publishing API docs with ...
Redocly developed command-line tools to split the OpenAPI definition into smaller files to make it easier to work with. Files are stored as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found