code-gov-api
code-gov-api copied to clipboard
Wrong default version alias
Describe the bug
The documentation states the default version is v2, but using default alias takes you to old version (v1
)
To Reproduce Steps to reproduce the behavior:
- Use alias
https://api.code.gov/endpoint
- Examine header:
X-API-VERSION: v1
(behavior confirmed to be prev2
)
Expected behavior
Using https://api.code.gov/endpoint
should be equivalent to https://api.code.gov/v2/endpoint