forked from zircote/swagger-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebhooks.yaml
More file actions
32 lines (32 loc) · 718 Bytes
/
Copy pathwebhooks.yaml
File metadata and controls
32 lines (32 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
openapi: 3.1.0
info:
title: 'Webhook Example'
version: 1.0.0
components:
schemas:
Pet:
required:
- id
- name
properties:
id:
type: integer
format: int64
name:
type: string
tag:
type: string
type: object
webhooks:
newPet:
post:
operationId: 072580cbd56e3fef2b4c81536d3fd1c6
requestBody:
description: 'Information about a new pet in the system'
content:
application/json:
schema:
$ref: '#/components/schemas/Pet'
responses:
'200':
description: 'Return a 200 status to indicate that the data was received successfully'