openapi: 3.2.0 info: title: LeafLink Transportation API version: '2022-10-31' description: 'This reference specification outlines all the available HTTP operations of the LeafLink API. See the [LeafLink Developer Hub](/api) for guides, how-to, and general information of the API. ' termsOfService: https://www.leaflink.com/terms-and-conditions/ contact: email: support@leaflink.com servers: - url: https://api.leaflink.com description: LeafLink API production URL. - url: https://staging-api.leaflink.com description: LeafLink API staging URL. security: - bearerAuth: [] tags: - name: transportation paths: /transportation/companies/{id}: get: operationId: transportation_companies_retrieve description: Transport Company view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this transport company. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation security: - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/TransportCompany' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. /transportation/drivers/{id}: get: operationId: transportation_drivers_retrieve description: Transport partner drivers view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this driver. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation security: - tokenAuth: [] - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/InternalDriver' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. patch: operationId: transportation_drivers_partial_update description: Transport partner drivers view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this driver. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedInternalDriverRequest' security: - tokenAuth: [] - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/InternalDriver' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. /transportation/orders: post: operationId: transportation_orders_create description: Unified API product categories. tags: - transportation requestBody: content: application/json: schema: $ref: '#/components/schemas/UnifiedL3OrderRequest' required: true security: - tokenAuth: [] - bearerAuth: [] responses: '201': content: application/json: schema: $ref: '#/components/schemas/UnifiedL3Order' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. /transportation/partners/{id}: get: operationId: transportation_partners_retrieve description: Company transport partner view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this company transport partner. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation security: - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/CompanyTransportPartner' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. /transportation/vehicles/{id}: get: operationId: transportation_vehicles_retrieve description: Transport partner vehicle view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this vehicle. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation security: - tokenAuth: [] - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Vehicle' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. patch: operationId: transportation_vehicles_partial_update description: Transport partner vehicle view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this vehicle. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation requestBody: content: application/json: schema: $ref: '#/components/schemas/PatchedVehicleRequest' security: - tokenAuth: [] - bearerAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Vehicle' description: '' headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. delete: operationId: transportation_vehicles_destroy description: Transport partner vehicle view set. parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this vehicle. required: true - name: LeafLink-Version description: '[API version docs](/api/getting-started/#versioning)' required: false in: header schema: type: string format: date tags: - transportation security: - tokenAuth: [] - bearerAuth: [] responses: '204': description: No response body headers: RateLimit-Limit: schema: type: integer description: The requests quota in the time window. RateLimit-Remaining: schema: type: integer description: The remaining requests quota in the current window. RateLimit-Reset: schema: type: integer description: The time remaining in the current window, specified in seconds. RateLimit-Policy: schema: type: string description: The quota policy information. '429': description: Rate Limit Error headers: Retry-After: schema: type: integer description: The time remaining before the rejected request can be tried again, specified in seconds. components: schemas: Company-unified-upstream-marketplace: type: object description: API v2 serializer for the Company model. properties: address: type: string announcement: type: - string - 'null' description: Company Announcement maxLength: 2000 apply_ancillary_tax: type: boolean readOnly: true apply_arms_length_tax: type: boolean readOnly: true batch_enabled: type: boolean readOnly: true default: true business_identifier: type: - string - 'null' title: Business Identifier / UBI description: Company identifier distinct from license numbers maxLength: 100 business_license_name: type: - string - 'null' description: Business License Name maxLength: 400 buyer: type: boolean title: Is a Buyer description: Company buys on LeafLink can_access_shop_brands: type: boolean readOnly: true city: type: string dba: type: string description: DBA of company maxLength: 400 description: type: string has_accting: type: boolean title: Enable Accounting Service integration description: When true can access Accounting Services hide_attached_packages: type: boolean title: Hide attached packages? description: Hide seed to sale packages that are mapped to a LeafLink resource? id: type: integer readOnly: true image: type: - string - 'null' format: uri name: type: string description: Name of Company (Note this is not the same as Brand) maxLength: 400 seller: type: boolean title: Is a Seller description: Company sells on LeafLink slug: type: string maxLength: 50 pattern: ^[-a-zA-Z0-9_]+$ state: type: string sts_enabled: type: boolean zipcode: type: string available_languages: type: array items: {} available_languages_translated: type: array items: type: array items: type: string minLength: 2 maxLength: 2 readOnly: true default_language: type: array items: {} default_language_translated: type: array items: type: string minLength: 2 maxLength: 2 readOnly: true enable_post: type: boolean title: Enable LL PoST description: Whether this company has opted in to Payment on Sell Through current_plan_id: type: string readOnly: true default_payment_on_sell_through_payment_term: $ref: '#/components/schemas/PaymentTerm' is_payment_on_sell_through_default: type: boolean title: Default Payment on Sell-Through description: Is Payment on Sellthrough the default payment method always_share_sell_through_data: type: boolean title: Global override for companies_buyersellerpreferences.sell_through_data_shared description: Enable sell-through data sharing for all sellers in a buyer's CRM required: - address - apply_ancillary_tax - apply_arms_length_tax - available_languages - available_languages_translated - batch_enabled - can_access_shop_brands - city - current_plan_id - dba - default_language - default_language_translated - default_payment_on_sell_through_payment_term - id - name - sts_enabled - zipcode Driver: type: object description: serializer for Driver Model. properties: id: type: integer readOnly: true first_name: type: string title: First Name of Driver description: First Name maxLength: 100 last_name: type: string description: Last Name of Driver maxLength: 100 metrc_employee_id: type: string description: METRC Employee ID for Driver maxLength: 100 license_number: type: string description: License Number of Driver maxLength: 15 phone: type: string description: Phone Number of Driver maxLength: 15 is_active: type: boolean title: Active description: Is an active driver? transport_company_id: type: integer description: Transport company driver is associated to. readOnly: true required: - first_name - id - last_name - license_number - metrc_employee_id - phone - transport_company_id InternalVehicleRequest: type: object description: Internal serializer for Vehicle Model. properties: make: type: - string - 'null' title: Vehicle Make description: Vehicle Make maxLength: 255 model_year: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Model Year model_name: type: - string - 'null' description: Vehicle Model Name maxLength: 255 license_number: type: - string - 'null' description: License Number of Vehicle maxLength: 15 capacity: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Capacity has_air_conditioner: type: boolean description: Vehicle Has Air Conditioner PaymentTerm: type: object description: Serialize payment term. properties: id: type: integer readOnly: true created_on: type: string format: date-time readOnly: true modified: type: string format: date-time readOnly: true term: type: string title: Payment Term Name description: Name of the Payment Term maxLength: 80 description: type: string title: Payment Term description description: Description of the Payment Term maxLength: 400 days: type: integer required: - created_on - days - description - id - modified - term Vehicle: type: object description: Internal serializer for Vehicle Model. properties: id: type: integer readOnly: true make: type: - string - 'null' title: Vehicle Make description: Vehicle Make maxLength: 255 model_year: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Model Year model_name: type: - string - 'null' description: Vehicle Model Name maxLength: 255 license_number: type: - string - 'null' description: License Number of Vehicle maxLength: 15 capacity: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Capacity has_air_conditioner: type: boolean description: Vehicle Has Air Conditioner state: allOf: - $ref: '#/components/schemas/State-unified-upstream-marketplace' readOnly: true required: - id - state PatchedInternalDriverRequest: type: object description: Internal serializer for Driver Model. properties: first_name: type: string minLength: 1 title: First Name of Driver description: First Name maxLength: 100 last_name: type: string minLength: 1 description: Last Name of Driver maxLength: 100 metrc_employee_id: type: string minLength: 1 description: METRC Employee ID for Driver maxLength: 100 license_number: type: string minLength: 1 description: License Number of Driver maxLength: 15 phone: type: string minLength: 1 description: Phone Number of Driver maxLength: 15 is_active: type: boolean title: Active description: Is an active driver? InternalVehicle: type: object description: Internal serializer for Vehicle Model. properties: id: type: integer readOnly: true make: type: - string - 'null' title: Vehicle Make description: Vehicle Make maxLength: 255 model_year: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Model Year model_name: type: - string - 'null' description: Vehicle Model Name maxLength: 255 license_number: type: - string - 'null' description: License Number of Vehicle maxLength: 15 capacity: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Capacity has_air_conditioner: type: boolean description: Vehicle Has Air Conditioner required: - id InternalDriver: type: object description: Internal serializer for Driver Model. properties: id: type: integer readOnly: true first_name: type: string title: First Name of Driver description: First Name maxLength: 100 last_name: type: string description: Last Name of Driver maxLength: 100 metrc_employee_id: type: string description: METRC Employee ID for Driver maxLength: 100 license_number: type: string description: License Number of Driver maxLength: 15 phone: type: string description: Phone Number of Driver maxLength: 15 is_active: type: boolean title: Active description: Is an active driver? transport_company: allOf: - $ref: '#/components/schemas/InternalTransportCompany' readOnly: true required: - first_name - id - last_name - license_number - metrc_employee_id - phone - transport_company State-unified-upstream-marketplace: type: object description: Serializer for State models via the internal API properties: id: type: integer readOnly: true abbr: type: string maxLength: 2 name: type: string maxLength: 100 country: $ref: '#/components/schemas/Country' required: - abbr - country - id - name UnifiedL3Order: type: object description: Internal serializer for L3Order Model. properties: number: type: string readOnly: true invoice_number: type: string readOnly: true mp_order_number: type: string readOnly: true transport_order_id: type: string readOnly: true payment_expected: type: object properties: amount: type: number format: decimal currency: type: string required: - amount - currency description: Money object with amount and currency customer: type: object additionalProperties: {} readOnly: true pickup_address: type: object additionalProperties: {} readOnly: true destination: type: object additionalProperties: {} readOnly: true status: allOf: - $ref: '#/components/schemas/UnifiedL3OrderStatusEnum' title: Status of L3Order requested_pickup_date: type: - string - 'null' format: date title: Requested pick up date description: Requested pick up date expected_pickup_datetime: type: - string - 'null' format: date-time title: Expected pick up datetime description: Expected pick up date and time actual_pickup_datetime: type: - string - 'null' format: date-time title: Actual pick up datetime description: Actual date time the order was picked up requested_delivery_date: type: - string - 'null' format: date description: Requested delivery date for the order expected_delivery_datetime: type: - string - 'null' format: date-time description: Expected delivery date and time for the order actual_delivery_datetime: type: - string - 'null' format: date-time description: Actual delivery date and time for the order display_delivery_date: type: - string - 'null' format: date-time readOnly: true pickup_driver: $ref: '#/components/schemas/Driver' additional_pickup_drivers: type: array items: type: object additionalProperties: {} readOnly: true pickup_vehicle: $ref: '#/components/schemas/InternalVehicle' delivery_driver: $ref: '#/components/schemas/Driver' delivery_vehicle: $ref: '#/components/schemas/InternalVehicle' payment_method: $ref: '#/components/schemas/PaymentMethod' payment_term: $ref: '#/components/schemas/PaymentTerm' customer_notes: type: - string - 'null' description: Customer notes for the L3 Order notes: type: - string - 'null' title: Additional Notes description: Additional notes for the L3 Order eligible_payment_methods: type: array items: type: string maxLength: 100 title: Eligible payment methods for this order description: A selection of eligible payment methods for this order payment_method_collected: type: string title: Collected Payment Method description: Payment method used for this order maxLength: 100 collected_payment_amount: type: - string - 'null' format: decimal pattern: ^-?\d{0,8}(?:\.\d{0,2})?$ description: Payment collected at delivery delivery_driver_comment: type: string description: Comment from delivery driver for this order maxLength: 500 metrc_transfer: type: - object - 'null' additionalProperties: {} readOnly: true created_on: type: string format: date-time readOnly: true transport_company: $ref: '#/components/schemas/TransportCompany' brand: $ref: '#/components/schemas/InternalLogisticsCompany' required: - additional_pickup_drivers - brand - created_on - customer - delivery_driver - delivery_vehicle - destination - display_delivery_date - invoice_number - metrc_transfer - mp_order_number - number - payment_expected - payment_method - payment_term - pickup_address - pickup_driver - pickup_vehicle - transport_company - transport_order_id PaymentMethodRequest: type: object description: Serialize payment method. properties: method: type: string minLength: 1 title: Payment Method Name description: Name of the Payment Method maxLength: 80 description: type: string minLength: 1 title: Payment Method Description description: Description of the Payment Method maxLength: 400 required: - description - method CompanyTransportPartner: type: object description: Seriazlier for Company Transport Partner Model. properties: id: type: integer readOnly: true company: allOf: - $ref: '#/components/schemas/Company-unified-upstream-marketplace' readOnly: true transport_company: allOf: - $ref: '#/components/schemas/TransportCompany' readOnly: true required: - company - id - transport_company InternalLogisticsCompanyRequest: type: object description: Internal serializer for the Company model to be used by L3 endpoints. properties: display_name: type: string minLength: 1 required: - display_name Address: type: object description: 'Serializer for Address models via the internal API. This includes but is not limited to delivery and corporate addresses for Companies.' properties: address: type: string description: Address maxLength: 400 unit_number: type: string title: 'Unit #' description: 'Unit #' maxLength: 400 city: type: string description: City maxLength: 400 county: type: string description: County maxLength: 400 state: type: string zipcode: type: string description: Zipcode maxLength: 7 required: - address - city - state - zipcode UnifiedL3OrderRequest: type: object description: Internal serializer for L3Order Model. properties: payment_expected: type: object properties: amount: type: number format: decimal currency: type: string required: - amount - currency description: Money object with amount and currency status: allOf: - $ref: '#/components/schemas/UnifiedL3OrderStatusEnum' title: Status of L3Order requested_pickup_date: type: - string - 'null' format: date title: Requested pick up date description: Requested pick up date expected_pickup_datetime: type: - string - 'null' format: date-time title: Expected pick up datetime description: Expected pick up date and time actual_pickup_datetime: type: - string - 'null' format: date-time title: Actual pick up datetime description: Actual date time the order was picked up requested_delivery_date: type: - string - 'null' format: date description: Requested delivery date for the order expected_delivery_datetime: type: - string - 'null' format: date-time description: Expected delivery date and time for the order actual_delivery_datetime: type: - string - 'null' format: date-time description: Actual delivery date and time for the order pickup_driver: $ref: '#/components/schemas/DriverRequest' pickup_vehicle: $ref: '#/components/schemas/InternalVehicleRequest' delivery_driver: $ref: '#/components/schemas/DriverRequest' delivery_vehicle: $ref: '#/components/schemas/InternalVehicleRequest' payment_method: $ref: '#/components/schemas/PaymentMethodRequest' payment_term: $ref: '#/components/schemas/PaymentTermRequest' customer_notes: type: - string - 'null' description: Customer notes for the L3 Order notes: type: - string - 'null' title: Additional Notes description: Additional notes for the L3 Order eligible_payment_methods: type: array items: type: string minLength: 1 maxLength: 100 title: Eligible payment methods for this order description: A selection of eligible payment methods for this order payment_method_collected: type: string title: Collected Payment Method description: Payment method used for this order maxLength: 100 collected_payment_amount: type: - string - 'null' format: decimal pattern: ^-?\d{0,8}(?:\.\d{0,2})?$ description: Payment collected at delivery delivery_driver_comment: type: string description: Comment from delivery driver for this order maxLength: 500 brand: $ref: '#/components/schemas/InternalLogisticsCompanyRequest' required: - brand - delivery_driver - delivery_vehicle - payment_expected - payment_method - payment_term - pickup_driver - pickup_vehicle PatchedVehicleRequest: type: object description: Internal serializer for Vehicle Model. properties: make: type: - string - 'null' title: Vehicle Make description: Vehicle Make maxLength: 255 model_year: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Model Year model_name: type: - string - 'null' description: Vehicle Model Name maxLength: 255 license_number: type: - string - 'null' description: License Number of Vehicle maxLength: 15 capacity: type: - integer - 'null' maximum: 2147483647 minimum: -2147483648 description: Vehicle Capacity has_air_conditioner: type: boolean description: Vehicle Has Air Conditioner InternalTransportCompany: type: object description: Internal serializer for TransportCompany Model. properties: id: type: integer readOnly: true name: type: - string - 'null' title: Transport Company description: Name maxLength: 255 medical_license_number: type: - string - 'null' description: Medical License Number of Transport Company maxLength: 100 adult_use_license_number: type: - string - 'null' description: Adult-Use License Number of Transport Company maxLength: 100 required: - id PaymentMethod: type: object description: Serialize payment method. properties: id: type: integer readOnly: true created_on: type: string format: date-time readOnly: true modified: type: string format: date-time readOnly: true method: type: string title: Payment Method Name description: Name of the Payment Method maxLength: 80 description: type: string title: Payment Method Description description: Description of the Payment Method maxLength: 400 required: - created_on - description - id - method - modified PaymentTermRequest: type: object description: Serialize payment term. properties: term: type: string minLength: 1 title: Payment Term Name description: Name of the Payment Term maxLength: 80 description: type: string minLength: 1 title: Payment Term description description: Description of the Payment Term maxLength: 400 days: type: integer required: - days - description - term Country: type: object description: "Serializer for Country models via the internal API\n\nNote:\n The code -> iso_code is alias is intentional" properties: id: type: integer readOnly: true abbr: type: string maxLength: 3 iso_code: type: string name: type: string maxLength: 50 required: - abbr - id - iso_code - name TransportCompany: type: object description: Serializer for TransportCompany model properties: transport_company_id: type: integer readOnly: true name: type: string readOnly: true medical_license_number: type: string readOnly: true adult_use_license_number: type: string readOnly: true state: type: string readOnly: true required: - adult_use_license_number - medical_license_number - name - state - transport_company_id UnifiedL3OrderStatusEnum: enum: - uploaded - created - assigned - planned - shipped - delivered - deleted type: string DriverRequest: type: object description: serializer for Driver Model. properties: first_name: type: string minLength: 1 title: First Name of Driver description: First Name maxLength: 100 last_name: type: string minLength: 1 description: Last Name of Driver maxLength: 100 metrc_employee_id: type: string minLength: 1 description: METRC Employee ID for Driver maxLength: 100 license_number: type: string minLength: 1 description: License Number of Driver maxLength: 15 phone: type: string minLength: 1 description: Phone Number of Driver maxLength: 15 is_active: type: boolean title: Active description: Is an active driver? required: - first_name - last_name - license_number - metrc_employee_id - phone ComplianceLicense: type: object description: Serializer for License models via the v2 API properties: id: type: integer readOnly: true description: id for license number: type: string title: License Number description: License Number maxLength: 100 type: type: string readOnly: true description: Type display_type: type: string readOnly: true description: Display type classification: type: string readOnly: true description: Classification required: - classification - display_type - id - number - type InternalLogisticsCompany: type: object description: Internal serializer for the Company model to be used by L3 endpoints. properties: id: type: integer readOnly: true display_name: type: string licenses: type: array items: $ref: '#/components/schemas/ComplianceLicense' readOnly: true delivery_address: allOf: - $ref: '#/components/schemas/Address' readOnly: true corporate_address: allOf: - $ref: '#/components/schemas/Address' readOnly: true required: - corporate_address - delivery_address - display_name - id - licenses securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT description: 'Authentication is done via access tokens (JWTs). See the [API authentication doc](/api/getting-started/#authentication) for more information. ' tokenAuth: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "Token"