Skip to content

Instantly share code, notes, and snippets.

@pluma pluma/swagger.json
Created Oct 21, 2015

Embed
What would you like to do?
{
"swagger": "2.0",
"info": {
"description": "Enterprise Value Architect",
"version": "0.0.1",
"title": "EVA",
"license": {
"name": "inspired.org"
}
},
"basePath": "/_db/_system/broken",
"schemes": ["http"],
"paths": {
"/testCollection": {
"get": {
"tags": ["/broken"],
"summary": "Lists of all testCollection.",
"description": "\nThis function simply returns the list of all TestCollection.\n",
"operationId": "get_testcollection",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": []
},
"post": {
"tags": ["/broken"],
"summary": "Creates a new testCollection.",
"description": "\nCreates a new testCollection. The information has to be in the\nrequestBody.\n",
"operationId": "post_testcollection",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "testCollection",
"description": "The testCollection you want to create",
"schema": {
"$ref": "#/definitions/rRtUNZcgdYL2rdoEUEL6kzmgZjk7SdPH"
}
}]
}
},
"/testCollection/{id}": {
"get": {
"tags": ["/broken"],
"summary": "Reads a testCollection.",
"description": "\nReads a testCollection.\n",
"operationId": "get_testcollection_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "path",
"name": "id",
"description": "The id of the testCollection",
"required": true,
"type": "string"
}]
},
"put": {
"tags": ["/broken"],
"summary": "Replaces a testCollection.",
"description": "\nChanges a testCollection. The information has to be in the\nrequestBody.\n",
"operationId": "put_testcollection_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "testCollection",
"description": "The testCollection you want your old one to be replaced with",
"schema": {
"$ref": "#/definitions/VlKDVjWzejqgRCmfQN1Gd8HvTc2uv1cf"
}
}, {
"in": "path",
"name": "id",
"description": "The id of the testCollection",
"required": true,
"type": "string"
}]
},
"patch": {
"tags": ["/broken"],
"summary": "Updates a testCollection.",
"description": "\nChanges a testCollection. The information has to be in the\nrequestBody.\n",
"operationId": "patch_testcollection_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "patch",
"description": "The patch data you want your testCollection to be updated with",
"schema": {
"$ref": "#/definitions/CIV0XdQloYPPjL6wuayoMZwYGd1eJjt5"
}
}, {
"in": "path",
"name": "id",
"description": "The id of the testCollection",
"required": true,
"type": "string"
}]
},
"delete": {
"tags": ["/broken"],
"summary": "Removes a testCollection.",
"description": "\nRemoves a testCollection.\n",
"operationId": "delete_testcollection_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "path",
"name": "id",
"description": "The id of the testCollection",
"required": true,
"type": "string"
}]
}
},
"/nodeTypes": {
"get": {
"tags": ["/broken"],
"summary": "Lists of all nodeTypes.",
"description": "\nThis function simply returns the list of all NodeType.\n",
"operationId": "get_nodetypes",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": []
},
"post": {
"tags": ["/broken"],
"summary": "Creates a new nodeType.",
"description": "\nCreates a new nodeType. The information has to be in the\nrequestBody.\n",
"operationId": "post_nodetypes",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "nodeType",
"description": "The nodeType you want to create",
"schema": {
"$ref": "#/definitions/kChvvRP4w3H43pUkB4VzXEPGUQ93sWwS"
}
}]
}
},
"/nodeTypes/{id}": {
"get": {
"tags": ["/broken"],
"summary": "Reads a nodeType.",
"description": "\nReads a nodeType.\n",
"operationId": "get_nodetypes_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "path",
"name": "id",
"description": "The id of the nodeType",
"required": true,
"type": "string"
}]
},
"put": {
"tags": ["/broken"],
"summary": "Replaces a nodeType.",
"description": "\nChanges a nodeType. The information has to be in the\nrequestBody.\n",
"operationId": "put_nodetypes_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "nodeType",
"description": "The nodeType you want your old one to be replaced with",
"schema": {
"$ref": "#/definitions/D1VRQfNJFE5l2CiboyPmn3H0ltufDxVM"
}
}, {
"in": "path",
"name": "id",
"description": "The id of the nodeType",
"required": true,
"type": "string"
}]
},
"patch": {
"tags": ["/broken"],
"summary": "Updates a nodeType.",
"description": "\nChanges a nodeType. The information has to be in the\nrequestBody.\n",
"operationId": "patch_nodetypes_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "body",
"name": "patch",
"description": "The patch data you want your nodeType to be updated with",
"schema": {
"$ref": "#/definitions/UQdlce8EtGsZ8JQEQtmhsisF6j5dI2QL"
}
}, {
"in": "path",
"name": "id",
"description": "The id of the nodeType",
"required": true,
"type": "string"
}]
},
"delete": {
"tags": ["/broken"],
"summary": "Removes a nodeType.",
"description": "\nRemoves a nodeType.\n",
"operationId": "delete_nodetypes_id_",
"responses": {
"default": {
"description": "undocumented body",
"schema": {
"properties": {},
"type": "object"
}
}
},
"parameters": [{
"in": "path",
"name": "id",
"description": "The id of the nodeType",
"required": true,
"type": "string"
}]
}
}
},
"definitions": {
"rRtUNZcgdYL2rdoEUEL6kzmgZjk7SdPH": {
"required": ["name", "stuff"],
"properties": {
"_key": {
"type": "string"
},
"name": {
"type": "string"
},
"stuff": {
"type": "string"
},
"description": {
"type": "string"
},
"deleted": {
"type": "boolean"
}
},
"type": "object"
},
"VlKDVjWzejqgRCmfQN1Gd8HvTc2uv1cf": {
"required": ["name", "stuff"],
"properties": {
"_key": {
"type": "string"
},
"name": {
"type": "string"
},
"stuff": {
"type": "string"
},
"description": {
"type": "string"
},
"deleted": {
"type": "boolean"
}
},
"type": "object"
},
"CIV0XdQloYPPjL6wuayoMZwYGd1eJjt5": {
"properties": {},
"type": "object"
},
"kChvvRP4w3H43pUkB4VzXEPGUQ93sWwS": {
"required": ["name"],
"properties": {
"_key": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"deleted": {
"type": "boolean"
}
},
"type": "object"
},
"D1VRQfNJFE5l2CiboyPmn3H0ltufDxVM": {
"required": ["name"],
"properties": {
"_key": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"deleted": {
"type": "boolean"
}
},
"type": "object"
},
"UQdlce8EtGsZ8JQEQtmhsisF6j5dI2QL": {
"properties": {},
"type": "object"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.