Skip to content

Commit 1c54cfb

Browse files
Add deprecated field to supported fields (#875)
* 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>
1 parent 7ae39e7 commit 1c54cfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/spec.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ var supportedSchemaFields = []string{
8585
"x-stripeOperations",
8686
"x-stripeParam",
8787
"x-stripeEvent",
88+
// This isn't used in our SDK, but is additional metadata unnecessary for
89+
// stripe-mock.
90+
"deprecated",
8891

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

0 commit comments

Comments
 (0)