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

strongloop / loopback-next / 1664 / 1
93%
master: 76%

Build:
Build:
LAST BUILD BRANCH: pm2-deployment-docs
DEFAULT BRANCH: master
Ran 02 Aug 2017 08:56AM UTC
Files 60
Run time 2s
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

02 Aug 2017 08:51AM UTC coverage: 92.834% (+0.004%) from 92.83%
1664.1

push

travis-ci

bajtos
Expose app api-spec at "GET /openapi.json"

 - Add new method `app.getApiSpec()` for obtaining
   the OpenAPI spec containing paths (routes) contributed by all
   different means we support
    * app.api()
    * app.route()
    * app.controller()

 - Expose a new REST endpoint "GET /openapi.json" that returns the
   specification provided by `app.getApiSpec()`. This endpoint is
   excluded from the spec.

 - Rework definition of Controller API to make top-level OpenAPI
   fields like "info" optional. Introduce a new interface
   "ControllerSpec" that's used by `@api()` and friends

 - Rename `getApiSpec()` to `getControllerSpec()` to make
   the intent more clear, and also to match the new return type
   `ControllerSpec`.

 - Add a new testlab method `validateApiSpec` that uses
   swagger-parser under the hood to validate OpenAPI spec
   document against OpenAPI specification.

 - Add `validateApiSpec` to our test suites, fix invalid specifications
   discovered by these new tests.

438 of 502 branches covered (87.25%)

Branch coverage included in aggregate %.

1272 of 1340 relevant lines covered (94.93%)

50.43 hits per line

Source Files on job 1664.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1664
  • Travis Job 1664.1
  • 9447d0f3 on github
  • Prev Job for on feature/expose-full-open-api-spec (#1623.2)
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