Skip to content

Commit

Permalink
Add deprecated field to supported fields (#875)
Browse files Browse the repository at this point in the history
* Add deprecated field to supported fields

* Update spec/spec.go

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>

---------

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>
  • Loading branch information
helenye-stripe and anniel-stripe authored Jun 20, 2024
1 parent 7ae39e7 commit 1c54cfb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ var supportedSchemaFields = []string{
"x-stripeOperations",
"x-stripeParam",
"x-stripeEvent",
// This isn't used in our SDK, but is additional metadata unnecessary for
// stripe-mock.
"deprecated",

// This is currently a hint for the server-side so I haven't included it in
// Schema yet. If we do start validating responses that come out of
Expand Down

0 comments on commit 1c54cfb

Please sign in to comment.