forked from loafle/openapi-generator-original
52 lines
1006 B
Plaintext
52 lines
1006 B
Plaintext
openapi: 3.1.0
|
|
info:
|
|
title: ""
|
|
version: ""
|
|
|
|
paths:
|
|
/user/getInfo:
|
|
get:
|
|
operationId: getUserInfo
|
|
responses:
|
|
"200":
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/Bar'
|
|
description: |
|
|
OK
|
|
security:
|
|
- Session: []
|
|
x-accepts: application/json
|
|
|
|
components:
|
|
schemas:
|
|
Foo:
|
|
type: object
|
|
required:
|
|
- arrayOfStrings
|
|
properties:
|
|
arrayOfStrings:
|
|
type: array
|
|
items:
|
|
type: string
|
|
|
|
Bar:
|
|
allOf:
|
|
- $ref: '#/components/schemas/Foo'
|
|
Hello:
|
|
type: object
|
|
properties:
|
|
arrayFooOne:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/Foo'
|
|
arrayFooTwo:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/Foo'
|
|
arrayFooThree:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/Foo'
|