API リクエストテスター
Web・ネットワーク 必要時のみ通信
OpenAPI 契約をローカルで設計・検証・文書化・モック・コード生成・比較します。
openapi: 3.2.0
info:
title: Pocket Tasks API
version: 1.0.0
description: A compact example for designing and reviewing an API contract.
servers:
- url: https://api.example.com/v1
paths:
/tasks:
get:
operationId: listTasks
summary: List tasks
tags: [Tasks]
parameters:
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
responses:
"200":
description: Task collection
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Task"
post:
operationId: createTask
summary: Create a task
tags: [Tasks]
requestBody:
required: true
content:
application/json:
schema:
$ref: "#/components/schemas/NewTask"
responses:
"201":
description: Task created
content:
application/json:
schema:
$ref: "#/components/schemas/Task"
/tasks/{taskId}:
get:
operationId: getTask
summary: Get a task
tags: [Tasks]
parameters:
- name: taskId
in: path
required: true
schema: { type: string, format: uuid }
responses:
"200":
description: Task found
content:
application/json:
schema:
$ref: "#/components/schemas/Task"
"404":
description: Task not found
components:
schemas:
NewTask:
type: object
required: [title]
properties:
title: { type: string, example: Ship the release }
done: { type: boolean, default: false }
Task:
allOf:
- $ref: "#/components/schemas/NewTask"
- type: object
required: [id]
properties:
id: { type: string, format: uuid }
createdAt: { type: string, format: date-time }
OpenAPI YAML または JSON ドキュメントを挿入し、フォーマットを切り替え、構造および参照診断を実行します。
操作、パラメーター、および回答をブラウジングし、スケジュールベースのモックの支払いを生成し、cURL、Fetch、またはPythonの例をコピーします。
候補契約を現在のバージョンと比較し、リリース前に削除された操作、回答、および新しく要求されたパラメーターを特定します。
ツールはOpenAPI 3.0、3.1、および3.2の構造を理解しています。
コードとモックの支払いは地元で生成されます. 外部の $ref URL は報告されますが、決して自動的に捕獲されません。
実用的な構造、操作、パラメーター、反応、および参照チェックを提供します。
それは保守的に高価値の構造的な変化を表しています; 生産の互換性はまた、スケジュール、セマンティック、クライアント、セキュリティ、および実行時間テストに依存しています。
ほかの用途特化型ブラウザツールもお試しください。