Open vkhougaz-sonatype opened 3 years ago
This is annoying when using it inside Docker container with read-only volumes. Versioning is already solved by containerizing the openapi-generator-cli
command. There should be an option to skip need for the openapitools.json
configuration file or provide an option to select different path for this file.
π Bug Report:
Describe the bug
openapi-generator-cli
fails silently when it cannot createopenapitools.json
Steps to Reproduce
Steps to reproduce the behavior:
Expected behavior
The command prints an explanation of why the command is failing, or any next steps on how to debug
Operation System (please complete the following information):
Package System (please complete the following information):
See reproduction for versions
Additional context
This cost me many, many hours of debugging because it only occurred in CI where volumes with no writes expected are mounted readonly, and during local testing we tend to already have an
openapitools.json