fix(docs): API reference bugs (#2119)

* fixed shipping method tax line schema name

* added dry run option to build openapi script

* fixed summary of endpoints

* fixed title of endpoint
This commit is contained in:
Shahed Nasser
2022-08-29 14:25:17 +03:00
committed by GitHub
parent 890732d238
commit 076b41bb89
7 changed files with 45 additions and 30 deletions
@@ -30,10 +30,10 @@ export class ShippingMethodTaxLine extends TaxLine {
}
/**
* @schema sales_channel_tax_line
* title: "Sales Channel"
* description: "A Sales Channel"
* x-resourceId: sales_channel_tax_line
* @schema shipping_method_tax_line
* title: "Shipping Method Tax Line"
* description: "Shipping Method Tax Line"
* x-resourceId: shipping_method_tax_line
* required:
* - shipping_method_id
* - rate
@@ -154,7 +154,7 @@ export class ShippingMethod {
* type: array
* description: Available if the relation `tax_lines` is expanded.
* items:
* $ref: "#/components/schemas/tax_line"
* $ref: "#/components/schemas/shipping_method_tax_line"
* price:
* description: "The amount to charge for the Shipping Method. The currency of the price is defined by the Region that the Order that the Shipping Method belongs to is a part of."
* type: integer