RonasIT / laravel-swagger

Laravel-Swagger is a fully automate tool which allows to generate and save swagger-based documentation after successful completing your application's feature tests.
https://ronasit.com
MIT License
148 stars 43 forks source link

Throw exception for empty or not exists files #108

Closed Goodmain closed 1 year ago

Goodmain commented 1 year ago

Description

Added new exceptions for cases when external Open-API doc file (added via auto-doc.additional_paths) is not exists or empty (complitely empty or not in a JSOn format).

Fixes #45

Type of change

Please delete options that are not relevant.

Checklist:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication