swaggest / swac

🤖 OpenAPI/Swagger client generator for PHP, Go and JavaScript (ES5)
MIT License
9 stars 3 forks source link

Do not strip path items from operation name #3

Closed cussrox closed 5 years ago

cussrox commented 5 years ago

This PR disables path parameters removal when building operation name, that helps to avoid name collisions between endpoints like /orders and /orders/{id}.

codecov[bot] commented 5 years ago

Codecov Report

Merging #3 into master will decrease coverage by 0.54%. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
- Coverage     75.77%   75.23%   -0.55%     
  Complexity      354      354              
============================================
  Files            25       25              
  Lines          1296     1296              
============================================
- Hits            982      975       -7     
- Misses          314      321       +7
Impacted Files Coverage Δ Complexity Δ
src/Php/Client/Client.php 70.65% <ø> (-7.61%) 26 <0> (ø)
src/Command/App.php 0% <ø> (ø) 1 <0> (ø) :arrow_down:

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 bda8e8a...a7a31ed. Read the comment docs.