Skip to content

Commit

Permalink
Correct data types for positional parameters on qr_code
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpjones committed Mar 14, 2024
1 parent 90b89cc commit 03b4ed7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions shared/models/qr_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@ properties:
description: Sets how a QR code is being positioned in the document. Together with this, you should provide one of 'top' or 'bottom', and one of 'left' or 'right'.

top:
type: string
type: number
description: Vertical distance (in inches) to place QR code from the top. Only allowed if "bottom" isn't provided.

right:
type: string
type: number
description: Horizontal distance (in inches) to place QR code from the right. Only allowed if "left" isn't provided.

left:
type: string
type: number
description: Horizontal distance (in inches) to place QR code from the left. Only allowed if "right" isn't provided.

bottom:
type: string
type: number
description: Vertical distance (in inches) to place QR code from the bottom. Only allowed if "top" isn't provided.

redirect_url:
type: string
description: The url to redirect the user when a QR code is scanned. The url must start with `https://`

width:
type: string
type: number
description: The size (in inches) of the QR code with a minimum of 1 inch. All QR codes are generated as a square.

pages:
Expand Down

0 comments on commit 03b4ed7

Please sign in to comment.