About 522,000 results
Open links in new tab
  1. docker - How to open/run YML compose file? - Stack Overflow

    Jun 5, 2017 · How can I open/run a YML compose file on my computer? I've installed Docker for Windows and Docker tools but couldn't figure out how.

  2. How can I parse a YAML file in Python - Stack Overflow

    Nov 23, 2015 · # Read file and parse with pyyaml dictionnaire = yaml.safe_load(path.read_text()) This works fine with modern versions of Python 3. You do not need with use the open file method this …

  3. How to run docker-compose using docker desktop? [closed]

    Feb 5, 2021 · 19 When you write "I have a docker-compose file" you probably mean you have a compose file, which is equally probably named docker-compose.yaml or docker-compose.yml. …

  4. How to generate OpenAPI 3.0 YAML file from existing Spring REST API?

    Feb 28, 2019 · I have an existing Spring REST API for which I want to generate the OpenAPI 3.0 YAML file and not Swagger 2.0 JSON/YAML? Since as of now, SpringFox does not support YAML generation.

  5. python - How to open static YAML files in the browser instead of ...

    Jun 23, 2022 · There is a setting in Chrome to "always open this type of file" but this doesn't open in the browser, it just downloads the file and then opens in a text editor. Step 1 on this page links to a …

  6. How can I parse a YAML file from a Linux shell script?

    Feb 16, 2011 · 361 I wish to provide a structured configuration file which is as easy as possible for a non-technical user to edit (unfortunately it has to be a file) and so I wanted to use YAML. I can't find …

  7. python - Edit YAML file with Bash - Stack Overflow

    Aug 25, 2020 · yaml.dump(ymldoc, ostream, default_flow_style=False, sort_keys=False) If you'd like to overwrite the original file, I recommend writing to a temporary file first and only if that succeeds, use …

  8. How to export swagger.json (or yaml) - Stack Overflow

    If you don't see the url or if url is a code expression, open the browser dev tools, switch to the Network tab and disable caching. Then refresh the page and search for the API definition file (swagger.json, …

  9. python - Docker Compose Up gives "The system cannot find the file ...

    Close the quickstart terminal, manually open Virtualbox, stop the Docker VM (for me, it was named default), and then re-open the quickstart terminal. This will restart the boot process, potentially fixing …

  10. How to use openapi.yaml file to generate swagger-ui?

    Apr 13, 2023 · 6 I have defined the REST API using an OpenApi specification file. Then I generated Java classes from this specification. Is there a way to use api.yaml to generate swagger-ui.html …