-
-
Save marcoraddatz/e1bae006bf635dd2b533 to your computer and use it in GitHub Desktop.
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
{ | |
"swagger": "2.0", | |
"info": { | |
"title": "Sample API", | |
"contact": { | |
"name": "Marco Raddatz", | |
"url": "https://www.marcoraddatz.com" | |
}, | |
"version": "1.0" | |
}, | |
"host": "laravel.localhost", | |
"basePath": "", | |
"schemes": [ | |
"http" | |
], | |
"paths": { | |
"/api/dashboard": { | |
"get": { | |
"tags": [ | |
"dashboard" | |
], | |
"description": "Returns dashboard overview.", | |
"operationId": "api.dashboard.index", | |
"produces": [ | |
"application/json" | |
], | |
"responses": { | |
"200": { | |
"description": "Dashboard overview." | |
}, | |
"401": { | |
"description": "Unauthorized action." | |
} | |
} | |
} | |
} | |
}, | |
"definitions": { | |
"Error": { | |
"required": [ | |
"code", | |
"message" | |
], | |
"properties": { | |
"code": { | |
"description": "Class ApiController", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"message": { | |
"description": "Class ApiController", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment