ergo / pyramid_apispec

Pyramid plugin for openapi spec generation (using ApiSpec)
BSD 3-Clause "New" or "Revised" License
23 stars 10 forks source link

Create distinct API endpoints for views with match_param predicates #22

Closed smsearcy closed 3 years ago

smsearcy commented 3 years ago

Replace match_param placeholders with predicate values so that the API doc shows the URLs that the end user would use.

Fixes #21

smsearcy commented 3 years ago

Do I need to "sign" AUTHORS.md?

smsearcy commented 3 years ago

I opened #23 to address failing tests. The change to the Pyramid test harness will require updates to the test I wrote for this PR.

marcin-lulek-cint commented 3 years ago

@smsearcy Great stuff there! Yes you need to sign the authors :) Thank you for your awesome contributions.

marcin-lulek-cint commented 3 years ago

@smsearcy please sign on the PR with tests - I will merge that one first.

smsearcy commented 3 years ago

You're welcome, thank you for the useful library!

I added myself to AUTHORS in the #23 and then rebased this branch so that the new test works.

ergo commented 3 years ago

Thank you!