UNPKG

@readme/oas-examples

Version:

A collection of example OpenAPI 3.x and Swagger 2.0 documents.

34 lines (33 loc) 686 B
openapi: 3.1.0 info: title: Webhook Example version: 1.0.0 webhooks: newPet: post: 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 tags: - Webhooks components: schemas: Pet: required: - id - name properties: id: type: integer format: int64 name: type: string tag: type: string