Refactored tools services endpoints system and fixed json formatter. #91
@@ -423,7 +423,89 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "/xpathpost": {
 | 
					    "/json/formatting": {
 | 
				
			||||||
 | 
					      "post": {
 | 
				
			||||||
 | 
					        "tags": [
 | 
				
			||||||
 | 
					          "JSON"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "summary": "Json validation and formatting.",
 | 
				
			||||||
 | 
					        "description": "",
 | 
				
			||||||
 | 
					        "operationId": "json",
 | 
				
			||||||
 | 
					        "consumes": [
 | 
				
			||||||
 | 
					          "application/json"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "produces": [
 | 
				
			||||||
 | 
					          "application/json"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "parameters": [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            "in": "body",
 | 
				
			||||||
 | 
					            "name": "request",
 | 
				
			||||||
 | 
					            "description": "A transform that is to be performed",
 | 
				
			||||||
 | 
					            "required": true,
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "example": "{'a': 'b', 'c': 'd'}"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "responses": {
 | 
				
			||||||
 | 
					          "200": {
 | 
				
			||||||
 | 
					            "description": "Formatted JSON",
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "type": "string"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "500": {
 | 
				
			||||||
 | 
					            "description": "Error message from json formatting.",
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "type": "string"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "/json/minimize": {
 | 
				
			||||||
 | 
					      "post": {
 | 
				
			||||||
 | 
					        "tags": [
 | 
				
			||||||
 | 
					          "JSON"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "summary": "Json validation and minimize formatting.",
 | 
				
			||||||
 | 
					        "description": "",
 | 
				
			||||||
 | 
					        "operationId": "json",
 | 
				
			||||||
 | 
					        "consumes": [
 | 
				
			||||||
 | 
					          "application/json"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "produces": [
 | 
				
			||||||
 | 
					          "application/json"
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "parameters": [
 | 
				
			||||||
 | 
					          {
 | 
				
			||||||
 | 
					            "in": "body",
 | 
				
			||||||
 | 
					            "name": "request",
 | 
				
			||||||
 | 
					            "description": "A transform that is to be performed",
 | 
				
			||||||
 | 
					            "required": true,
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "example": "{'a': 'b', 'c': 'd'}"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        ],
 | 
				
			||||||
 | 
					        "responses": {
 | 
				
			||||||
 | 
					          "200": {
 | 
				
			||||||
 | 
					            "description": "Formatted JSON",
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "type": "string"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          },
 | 
				
			||||||
 | 
					          "500": {
 | 
				
			||||||
 | 
					            "description": "Error message from json formatting.",
 | 
				
			||||||
 | 
					            "schema": {
 | 
				
			||||||
 | 
					              "type": "string"
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "/xpath": {
 | 
				
			||||||
      "post": {
 | 
					      "post": {
 | 
				
			||||||
        "tags": [
 | 
					        "tags": [
 | 
				
			||||||
          "XPath"
 | 
					          "XPath"
 | 
				
			||||||
@@ -470,7 +552,7 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "/xsltpost": {
 | 
					    "/xslt": {
 | 
				
			||||||
      "post": {
 | 
					      "post": {
 | 
				
			||||||
        "tags": [
 | 
					        "tags": [
 | 
				
			||||||
          "XSLT"
 | 
					          "XSLT"
 | 
				
			||||||
@@ -517,7 +599,7 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    "/xsdpost": {
 | 
					    "/xsd": {
 | 
				
			||||||
      "post": {
 | 
					      "post": {
 | 
				
			||||||
        "tags": [
 | 
					        "tags": [
 | 
				
			||||||
          "XSD"
 | 
					          "XSD"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user