use supermodel

This commit is contained in:
Zdenek Nemec
2019-11-18 08:31:00 +00:00
parent c9df0c584b
commit ade9e04665
9 changed files with 1368 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
$id: http://supermodel.io/adidas/examples/order/api/OrderPatch
$schema: http://json-schema.org/draft-07/schema#
title: OrderPatch
description: OrderPatch model description
type: object
allOf:
- $ref: 'http://supermodel.io/adidas/examples/order/Order'
examples:
- status: cancelled
orderNumber: 1
itemCount: 2