forked from whitlockjc/json-refs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Diego de Estrada
committed
Sep 12, 2016
1 parent
5ad1f63
commit fde6b19
Showing
9 changed files
with
2,244 additions
and
2,000 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
swagger: "2.0" | ||
info: | ||
title: test | ||
version: '0.0.0' | ||
responses: | ||
500: | ||
description: "error" | ||
schema: | ||
$ref: "#/definitions/e" | ||
paths: {} | ||
definitions: | ||
y: | ||
type: object | ||
properties: | ||
children: | ||
type: array | ||
items: | ||
$ref: "#/definitions/z" | ||
z: | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
t: | ||
type: string | ||
enum: | ||
- unauthorized | ||
- forbidden | ||
e: | ||
type: object | ||
properties: | ||
error_type: | ||
$ref: "#/definitions/t" | ||
message: | ||
type: string |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
swagger: "2.0" | ||
info: | ||
title: test | ||
version: '0.0.0' | ||
responses: | ||
$ref: "./a.yaml#/responses" | ||
paths: {} | ||
definitions: | ||
x: | ||
$ref: "./a.yaml#/definitions/y" |
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