motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Fix methods #317

Closed italolelis closed 6 years ago

italolelis commented 6 years ago

What does this PR do?

Fixes #284 where we were missing the default method when creating a new API definition

codecov[bot] commented 6 years ago

Codecov Report

Merging #317 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #317   +/-   ##
=======================================
  Coverage   40.75%   40.75%           
=======================================
  Files          71       71           
  Lines        2505     2505           
=======================================
  Hits         1021     1021           
  Misses       1422     1422           
  Partials       62       62
Impacted Files Coverage Δ
pkg/middleware/stats.go 100% <100%> (ø) :arrow_up:
pkg/proxy/definition.go 64.7% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update cd42285...9a1f611. Read the comment docs.