update demo to show use cases

This commit is contained in:
Dimitar Nanov 2018-11-14 16:13:18 +02:00 committed by Roman Hotsiy
parent 6935b16964
commit 51b5d04fcc
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -75,6 +75,14 @@ tags:
- name: user
description: Operations about user
- name: pet_model
x-displayName: The Pet Model
description: |
<object-description schemaRef="#/components/schemas/Pet" />
- name: store_model
x-displayName: The Order Model
description: |
<object-description schemaRef="#/components/schemas/Order" examplesRef="#/components/examples/Order" showReadOnly={true} showWriteOnly={true} />
x-tagGroups:
- name: General
tags:
@ -83,6 +91,10 @@ x-tagGroups:
- name: User Management
tags:
- user
- name: Models
tags:
- pet_model
- store_model
paths:
/pet:
parameters:
@ -766,6 +778,11 @@ components:
description: Indicates whenever order was completed or not
type: boolean
default: false
readOnly: true
rqeuestId:
description: Unique Request Id
type: string
writeOnly: true
xml:
name: Order
Pet: