-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref #984 - fix circular refs stack overflow
- Loading branch information
1 parent
b3dceb6
commit b93e1d3
Showing
5 changed files
with
147 additions
and
19 deletions.
There are no files selected for viewing
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
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,54 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"description": "Data", | ||
"version": "1.0", | ||
"title": "Data" | ||
}, | ||
"basePath": "/dcs/api", | ||
"paths": { | ||
"/concept": { | ||
"get": { | ||
"summary": "Retrieve settings", | ||
"description": "settings", | ||
"operationId": "getSettings", | ||
"produces": [ | ||
"application/json" | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "successful operation", | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/Concept" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
|
||
"Concept": { | ||
"type": "object", | ||
"properties": { | ||
"thing": { | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"$ref": "#/definitions/Thing" | ||
} | ||
} | ||
} | ||
}, | ||
"Thing": { | ||
"allOf": [ | ||
{ | ||
"$ref": "#/definitions/Concept" | ||
} | ||
] | ||
} | ||
} | ||
} |