OpenAPI YAML
Direct answer
OpenAPI configuration is expressed as YAML. Keep indentation consistent, validate before apply/deploy, and use ecosystem-specific dry-run tools plus a general YAML syntax checker.
Typical snippet
openapi: 3.0.3
info:
title: Sample API
version: 1.0.0
paths:
/health:
get:
responses:
'200':
description: okValidation tips
OpenAPI documents are YAML or JSON; convert carefully and keep indentation valid.
Related
Common YAML pitfalls here
- Indentation mistakes under nested
spec/stepskeys. - Unquoted values that become booleans in some parsers.
- Copy-pasting tabs from chat or docs sites.
After editing, validate syntax on YAML.cc, then run the ecosystem-native checker.