Skip to content

Release v1.4.3

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Dec 08:50

fix: Draft.draftPicks() now correctly uses year parameter in URL path

  • Fixed path template in draft.json schema: /v1/draft -> /v1/draft/{year}
  • Fixed path config in endpoint-model.json: /v1/draft -> /v1/draft/{year}
  • Added BDD tests for Draft endpoint (draftPicks, draftProspects, latestDraftPicks)
  • Added gzipped stubs for Draft tests

The draftPicks method was ignoring the year parameter and always returning
current year's data. Now correctly constructs URL like /v1/draft/2020.

Fixes #5