Skip to content

Commit 15064a4

Browse files
committed
commit test
1 parent 33a68b2 commit 15064a4

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
openapi: 3.0.1
2+
info:
3+
title: OpenAPI definition
4+
version: '1.0'
5+
paths:
6+
/pets:
7+
get:
8+
summary: Get all pets
9+
operationId: getAllPets
10+
responses:
11+
default:
12+
description: ok
13+
components:
14+
schemas:
15+
Pet:
16+
type: object
17+
properties:
18+
petType:
19+
type: string
20+
discriminator:
21+
propertyName: petType
22+
Cat:
23+
allOf:
24+
- $ref: '#/components/schemas/Pet'
25+
type: object
26+
properties:
27+
name:
28+
type: string

0 commit comments

Comments
 (0)