Created
August 24, 2018 08:01
-
-
Save tomblench/32e911f584483973385b9e6aaeeac450 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" | |
externalDocs: | |
description: Test | |
url: http://test.com/test | |
info: | |
version: 0.0.1 | |
title: Test | |
license: | |
name: Test | |
url: http://test.com/test | |
servers: | |
- url: http://test.com/test | |
paths: | |
/: | |
get: | |
description: Test | |
summary: Test | |
operationId: getTest | |
responses: | |
200: | |
description: Response with schema containing reference | |
content: | |
application/json: | |
schema: | |
$ref: "./components/schema-with-reference.yaml" | |
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
--- | |
type: object |
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
--- | |
type: object | |
properties: | |
reference_array: | |
type: array | |
items: | |
$ref: "./components/referent.yaml" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment