Skip to content

Comments

ZIP-558: modifies spec for taxabilityCode param#4

Merged
ericlakich merged 2 commits intomainfrom
ZIP-558/spec-update
Jan 22, 2026
Merged

ZIP-558: modifies spec for taxabilityCode param#4
ericlakich merged 2 commits intomainfrom
ZIP-558/spec-update

Conversation

@ericlakich
Copy link
Contributor

This pull request updates the OpenAPI specification in docs/spec.yaml to correct the format and validation pattern for the taxabilityCode query parameter. The change ensures the parameter is defined as a number rather than a date, and updates its validation accordingly.

Specification corrections:

  • Changed the taxabilityCode parameter's format from "date" to "number" to reflect its intended usage.
  • Updated the validation pattern for taxabilityCode from a date format ("^[0-9]{4}-[0-9]{2}$") to a single digit number ("^[0-9]$").

Copilot AI review requested due to automatic review settings January 22, 2026 21:22
@linear
Copy link

linear bot commented Jan 22, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the OpenAPI specification for the taxabilityCode query parameter by changing it from a date format to a single-digit number format.

Changes:

  • Updated taxabilityCode parameter format from "date" to "number"
  • Modified validation pattern to accept single-digit numbers instead of YYYY-MM date format

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ericlakich ericlakich self-assigned this Jan 22, 2026
@ericlakich ericlakich merged commit ecf7b88 into main Jan 22, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant