포매터 및 코드
OpenAPI 3.1 YAML ⇄ JSON
Convert OpenAPI specs between YAML and JSON.
Runs in your browser
OpenAPI YAML · source
lines: 42chars: 924size: 924 B
JSON · result
lines: 79chars: 1576size: 1.5 KB
live
편집자 노트
Understanding · Same spec, two file formats — pick by audience.
이 심층 챕터는 현재 영어로만 제공됩니다. 위의 변환 도구는 귀하의 언어로 작동하지만, 긴 설명 글은 아직 번역되지 않았습니다.
자주 묻는 질문
Quick answers.
›Does this tool support OpenAPI 3.1?
Yes. It supports OpenAPI 3.1, 3.0, and Swagger 2.0 definitions. The tool converts the underlying structure without altering the specification version.
›Will my API documentation be kept private?
Yes. The conversion happens entirely in your browser using JavaScript. No document data is sent to our servers or stored externally.
›What happens to YAML comments during conversion?
JSON does not support comments, so any comments in your YAML source will be stripped when converting to JSON. They are preserved if you are simply formatting YAML.
›Is the output validated against the OpenAPI schema?
The tool checks for valid `YAML` and `JSON` syntax during the conversion process. For full schema-level validation, we recommend using a dedicated OpenAPI linter.
사람들이 다음도 검색합니다.
관련 도구
More in this room.
- OpenAPI / Swagger 유효성 검사기사양 규칙에 따라 OpenAPI 3 사양을 검증합니다.
- OpenAPI → TypeScript Axios 클라이언트모든 OpenAPI 사양에서 타입이 지정된 Axios 클라이언트를 생성합니다.
- OpenAPI → React Query Hooks엔드포인트별 자동 생성 useQuery + useMutation 훅.
- OpenAPI → Postman 컬렉션모든 OpenAPI 사양에서 Postman v2.1 컬렉션 생성.
- GraphQL SDL ⇄ TypeScript 타입스키마를 탐색하고 타입이 지정된 인터페이스를 내보내기 — 그리고 다시 역변환.
- JSON Schema → Zod / Valibot / ArkType하나의 JSON Schema에서 세 가지 런타임 유효성 검사기 형식.