Skip to content

Commit

Permalink
fix: missing type on some objects
Browse files Browse the repository at this point in the history
this is not required but some tools will throw warnings and its probably a good idea to be specific.
  • Loading branch information
philsturgeon committed Oct 16, 2024
1 parent 073db2d commit cb741b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
data:
type: array
Expand Down Expand Up @@ -723,6 +724,7 @@ components:
type: string
format: uri
Problem:
type: object
xml:
name: problem
namespace: urn:ietf:rfc:7807
Expand Down Expand Up @@ -872,9 +874,10 @@ components:
source:
unevaluatedProperties: false
description: The payment source to take the payment from. This can be a card or a bank account. Some of these properties will be hidden on read to protect PII leaking.
anyOf:
oneOf:
- title: Card
description: A card (debit or credit) to take payment from.
type: object
properties:
object:
type: string
Expand Down

0 comments on commit cb741b4

Please sign in to comment.