preview-docs command does not read entrypoint from config file
See original GitHub issueSince 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:
- Created 3 years ago
- Comments:9 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Blacklands just fyi: landed in 1.0.0-beta.4
It will land in the upcoming release