{ "swagger": "2.0", "info": { "title": "Dotclear API", "description": "Manage your(s) blogs with this API", "version": "0.0.2" }, "host": "dotclear.localhost", "schemes": [ "http" ], "basePath": "/dotclear/index.php?rest", "produces": [ "application/json" ], "paths": { "/specs": { "get": { "summary": "Get this API SWAGGER documentation", "responses": { "200": { "description": "swagger.json", "schema": { "title": "doc", "type": "string" } }, "default": { "description": "Unexpected error", "schema": { "$ref": "#/definitions/Error" } } } } } }, "definitions": { "Error": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" }, "fields": { "type": "string" } } } } }