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

Romakita / ts-express-decorators / 1668 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2018 08:09PM UTC
Files 205
Run time 314min
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

06 Mar 2018 08:05PM UTC coverage: 100.0%. Remained the same
1668.3

push

travis-ci

Romakita
feat(mvc): Add Multi route support on an Endpoint

Now, the decorators `@Get`, `@Post`, `Put`, `Delete`, `@Head` can be used several times
on the same class method.

```typescript
@Controller("/")
export MyCtrl {

  @Get("/route1")
  @Get("/route2")
  async myMethod() {
     return {};
  }
}
```
It useful when you need to create alias route on the same method.

- Add ExpressRouter decorator (inject Express.Router instance on a controller).
- Deprecate RouterController (use ExpressRouter instead of).
- Deprecate EndpointMetadata.httpMethod, EndpointMetadata.hasHttpMethod and EndpointMetadata.path.
- Fix Regex support on route.

Closes: #255

900 of 969 branches covered (92.88%)

2911 of 2911 relevant lines covered (100.0%)

130.21 hits per line

Source Files on job 1668.3
  • Tree
  • List 0
  • Changed 15
  • Source Changed 10
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1
  • Travis Job 1668.3
  • 9a0e25ed on github
  • Prev Job for on master (#1663.4)
  • Next Job for on master (#1674.4)
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