• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DarkaOnLine / L5-Swagger
96%
master: 99%

Build:
Build:
LAST BUILD BRANCH: 10.1.0
DEFAULT BRANCH: master
Repo Added 03 Feb 2017 10:45AM UTC
Files 12
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH 8.0.7
branch: 8.0.7
CHANGE BRANCH
x
Reset
  • 8.0.7
  • 10.0.0
  • 10.1.0
  • 3.2.3
  • 5.0
  • 5.0.1
  • 5.0.2
  • 5.0.4
  • 5.4.0
  • 5.4.x
  • 5.5.0
  • 5.5.1
  • 5.5.2
  • 5.5.3
  • 5.5.4
  • 5.5.5
  • 5.5.6
  • 5.5.7
  • 5.5.8
  • 5.5.8.1
  • 5.5.8.2
  • 5.5.8.3
  • 5.5.8.x
  • 5.5.9
  • 5.5.x
  • 5.6.0
  • 5.6.1
  • 5.6.2
  • 5.6.3
  • 5.6.7
  • 5.6.8
  • 5.6.9
  • 5.6.x
  • 5.7.0
  • 5.7.1
  • 5.7.3
  • 5.7.x
  • 5.8.1
  • 5.8.2
  • 5.8.3
  • 5.8.4
  • 5.8.5
  • 5.8.x
  • 6.0
  • 6.0.1
  • 6.0.3
  • 6.0.4
  • 6.0.5
  • 6.0.6
  • 6.x
  • 7.0
  • 7.0.1
  • 7.x
  • 8.0.0
  • 8.0.1
  • 8.0.2
  • 8.0.4
  • 8.0.5
  • 8.0.6
  • 8.1.0
  • 8.2.0
  • 8.3.0
  • 8.3.1
  • 8.3.2
  • 8.3.3
  • 8.4.0
  • 8.4.1
  • 8.5.0
  • 8.5.1
  • 8.5.2
  • 8.6.0
  • 8.6.1
  • 8.6.2
  • 8.6.3
  • 8.6.4
  • 8.6.5
  • 8.x-rc
  • 8.x-rc.2
  • 9.0.0
  • 9.0.1
  • 9.1.0
  • add-deepLinking-param-for-swagger-ui-template
  • add-doctrine/annotations
  • bump-swagger-php-to-v6
  • change-processors-parsing
  • code-climate-travis
  • create-docker-container-for-testing
  • darius/feature/488/allow-to-change-swagger-php-generator-version
  • darius/fix-operator-not-supported-for-string
  • darius/fix-undefined-format_to_use_for_docs
  • darius/path-traversal-vulnerability
  • dependenci6297
  • feature/swagger-ui-3
  • fix-deprecated-php-84
  • fix-requestInterceptor-for-6.x
  • fix-requestInterceptor-for-7.x
  • fix-security-config-example
  • fix-swagger-assets-path
  • fix/CVE-2021-46708
  • introduce-processors-configuration
  • laravel-10-support
  • laravel-9-support
  • maintenence-2022-03
  • master
  • mibo/zircote/deprecations
  • schmidi-5.5.x
  • swagger-ui-multiple-urls
  • swagger/openApi-3.0
  • test-codacy
  • testdox
  • travis
  • upgrade-to-swagger-ui-4
  • use-attributes-in-tests
  • use-local-const-instead-of-openapi-one
  • yaml-support

pending completion
495

push

travis-ci-com

web-flow
Fix fatal during docs generation/respect "generate_always" flag (#385)

* Fix fatal during docs generation/respect "generate_always" flag

- fixes fatal when requested `$filePath` is invalid
  If non-existing doc is requested (e.g. https://example.com/docs/foo), an uncaught exception could be raised during `File::get()` call.
  Added a guard to prevent that.

- respect "generate_always" flag
  I think this was introduced back in https://github.com/DarkaOnLine/L5-Swagger/pull/172, presumably before `generate_always` config param was added.
  Imo with addition of `generate_always` this condition became slightly off - if user doesn't want the file to be generated on the fly (`generate_always=false`) l5-swagger shouldn't be ignoring that (by checking if `File::exists()`)

* add tests; fix lint error

3 of 3 new or added lines in 1 file covered. (100.0%)

280 of 293 relevant lines covered (95.56%)

14.01 hits per line

Relevant lines Covered
Build:
Build:
293 RELEVANT LINES 280 COVERED LINES
14.01 HITS PER LINE
Source Files on 8.0.7
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
495 8.0.7 Fix fatal during docs generation/respect "generate_always" flag (#385) * Fix fatal during docs generation/respect "generate_always" flag - fixes fatal when requested `$filePath` is invalid If non-existing doc is requested (e.g. https://exam... push 12 Jul 2021 06:35AM UTC web-flow travis-ci-com pending completion  
See All Builds (542)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc