Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion openapi/components/schemas/ProductListing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,15 @@
products:
type: array
items:
type: object
description: Either a ProductID or a Product, depending on hydration
x-if:
when: jsonschema
then:
oneOf:
- $ref: ./Product.yaml
- $ref: ./ProductID.yaml
else:
type: object

Check warning on line 69 in openapi/components/schemas/ProductListing.yaml

View workflow job for this annotation

GitHub Actions / lint

vrc-title

Schema must have a non-empty title.
quantifiable:
type: boolean
recurrable:
Expand Down
9 changes: 8 additions & 1 deletion openapi/components/schemas/Transaction.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
title: Transaction
type: object
description: ""

Check warning on line 3 in openapi/components/schemas/Transaction.yaml

View workflow job for this annotation

GitHub Actions / lint

vrc-description

Cannot be empty.
properties:
agreement:
$ref: ./TransactionAgreement.yaml
x-if:
when: jsonschema
then:
oneOf:
- $ref: ./TransactionAgreement.yaml
- type: string
else:
$ref: ./TransactionAgreement.yaml
created_at:
type: string
format: date-time
Expand Down