diff --git a/installation.mdx b/installation.mdx index e55113e55..6d2cc539e 100644 --- a/installation.mdx +++ b/installation.mdx @@ -83,6 +83,12 @@ mint dev A local preview of your documentation is available at `http://localhost:3000`. +By default, the browser opens automatically. To prevent the browser from opening, use the `--no-open` flag: + +```bash +mint dev --no-open +``` + Alternatively, if you do not want to install the CLI globally, you can run a one-time script: ```bash @@ -232,6 +238,16 @@ mint openapi-check Pass a filename (for example, `./openapi.yaml`) or a URL (for example, `https://petstore3.swagger.io/api/v3/openapi.json`). +To check a locally hosted OpenAPI file served over HTTP, use the `--local-schema` flag: + +```bash +mint openapi-check http://localhost:8080/openapi.json --local-schema +``` + + + Only HTTPS URLs are supported in production deployments. The `--local-schema` flag is for local development only. + + ### Create a workflow Create a [workflow](/agent/workflows) file interactively with the following command: