Back to Docs

yapi validate

Validate a yapi config file

Synopsis

Validate a yapi config file and report diagnostics. Use - to read from stdin.

yapi validate [file] [flags]

Options

  -a, --all    Validate all *.yapi, *.yapi.yml, *.yapi.yaml files in current directory or specified directory
  -h, --help   help for validate
      --json   Output diagnostics as JSON

Options inherited from parent commands

      --binary-output   Display binary content to stdout (by default binary content is hidden)
      --insecure        Skip TLS verification for HTTPS requests; use insecure transport for gRPC
      --no-color        Disable color output
  -u, --url string      Override the URL specified in the config file

SEE ALSO

  • yapi - yapi is a unified API client for HTTP, gRPC, and TCP
Auto generated by spf13/cobra on 29-Jan-2026