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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user