fix: build openapi (#338)
This commit is contained in:
1 parent
1039d040e9
commit
9467f7ecbd
7 files changed
+2559
-1146
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { defaultFields, defaultRelations } from "./"
|
||||
|
||||
/**
|
||||
* @oas [get] /discounts/code/{id}
|
||||
* @oas [get] /discounts/code/{code}
|
||||
* operationId: "GetDiscountsDiscountCode"
|
||||
* summary: "Retrieve a Discount by code"
|
||||
* description: "Retrieves a Discount by its discount code"
|
||||
|
||||
@@ -189,7 +189,7 @@ export class Product {
|
||||
* description: "Whether the Product represents a Gift Card. Products that represent Gift Cards will automatically generate a redeemable Gift Card code once they are purchased."
|
||||
* type: boolean
|
||||
* discountable:
|
||||
* description: "Whether the Product can be discounted. Discounts will not apply to Line Items of this Product when this flag is set to `false`.
|
||||
* description: "Whether the Product can be discounted. Discounts will not apply to Line Items of this Product when this flag is set to `false`."
|
||||
* type: boolean
|
||||
* images:
|
||||
* description: "Images of the Product"
|
||||
|
||||
Reference in new issue
Block a user