From b3057fd93ea680b07af42da23f0d7e6a1094f095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Haylee=20Sch=C3=A4fer?= Date: Sun, 20 Aug 2017 17:23:40 +0200 Subject: [PATCH] Add premium definitions --- swagger.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/swagger.yml b/swagger.yml index 082f0e6..d617f52 100644 --- a/swagger.yml +++ b/swagger.yml @@ -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: