Last active
August 15, 2017 04:09
-
-
Save iainconnor/6568520a0fbd15ccd6af583b73a2add4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
version: '1.0' | |
title: Demo | |
description: 'Just a demonstration. · Generated with ❤ by GameMaker · https://github.com/iainconnor/game-maker.' | |
servers: | |
- url: 'http://www.mydemo.com/rest_api/foo' | |
paths: | |
components: | |
schemas: | |
Bar: | |
type: object | |
properties: | |
zim: | |
oneOf: | |
- type: string | |
- type: integer | |
zam: | |
oneOf: | |
- type: array | |
items: | |
type: string | |
- type: array | |
items: | |
$ref: '#/components/schemas/Fuzz' | |
- type: boolean | |
zuzz: | |
type: array | |
items: | |
$ref: '#/components/schemas/Fizz' | |
required: | |
- zim | |
- zam | |
- zuzz | |
Fizz: | |
type: object | |
properties: | |
a: | |
type: string | |
Fuzz: | |
type: object | |
allOf: | |
- type: object | |
- $ref: '#/components/schemas/Fizz' | |
- properties: | |
b: | |
type: boolean | |
required: | |
- b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment