Skip to content

Commit

Permalink
Add premium definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
InventivetalentDev committed Aug 20, 2017
1 parent 0fde774 commit b3057fd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions swagger.yml
Expand Up @@ -651,6 +651,16 @@ definitions:
description: Whether this resource is external (not hosted on SpigotMC.org)
icon:
$ref: "#/definitions/Icon"
premium:
type: boolean
description: Whether the resource is a premium resource^
price:
type: number
format: double
description: Price of the resource (only if the resource is premium)
currency:
type: string
description: Price Currency of the resource (only if the resource is premium)
reviews:
type: array
items:
Expand Down

0 comments on commit b3057fd

Please sign in to comment.