a11y.skipToMainContent
1

API Mock 발전기

JSON Schema 정의 또는 샘플 데이터에서 현실적인 mock API 응답 생성. 응답 상태, 헤더 및 지연을 사용자 정의합니다.

Custom JSON Schema
Generated Mock Data
More options
Was this tool helpful?
Send output to:
Advertisement

How to use API Mock Generator

  1. JSON Schema 또는 풀 샘플 JSON을 정의합니다.
  2. 응답 상태 부호와 우두머리를 구성하십시오.
  3. 선택적으로 가장된 지연을 설정합니다.
  4. 생성된 모성 응답 또는 endpoint를 복사합니다.

API 목 생성기은 무엇입니까?

An API 모노 발생기는 JSON Schema 정의 또는 샘플 데이터를 기반으로 실제 가짜 API 응답을 만듭니다. 백엔드 API가 아직 준비되지 않았거나, 테스트 가장자리 케이스를 위해 프론트엔드 개발이 가능합니다.

이 도구는 schema의 유형과 제약과 일치하는 무작위 데이터를 생성합니다. 응답 상태 코드, 헤더를 사용자 정의 할 수 있으며, 실제 테스트 시나리오에 대한 네트워크 지연을 시뮬레이션 할 수 있습니다.

Advertisement

FAQ

어떤 데이터 유형이 지원됩니까?
String, number, boolean, array, object를 포함한 모든 JSON 유형. String format hints like email, uri, 날짜 생성 현실적인 값.
여러 응답을 생성할 수 있습니까?
예 - 한 번에 여러 고유의 응답을 생성하는 카운트 옵션을 사용합니다.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement