From 0e4b5ad9ecbac5bd53da7310cd71a4b066d9ec79 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Wed, 11 Sep 2019 11:33:33 +0100 Subject: [PATCH] Remove now gone orders/{order_number} endpoint and its models, may be readded in the near future but the models may be different as these docs refer to the now gone spree_api order rabl representation --- swagger.yaml | 215 +-------------------------------------------------- 1 file changed, 1 insertion(+), 214 deletions(-) diff --git a/swagger.yaml b/swagger.yaml index 58c00d039d..17498a3e5e 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -363,26 +363,6 @@ paths: pagination: type: string - /orders/{order_number}: - get: - description: Gets the Order with the given number. - tags: - - orders - parameters: - - in: path - name: order_number - schema: - type: string - required: true - description: Alphanumeric string identifier for the Order. - responses: - '200': - description: successful operation - content: - application/json: - schema: - $ref: '#/components/schemas/Order_Verbose' - /taxonomies: get: description: Gets all Taxonomies. @@ -826,30 +806,6 @@ components: type: integer parent_id: type: integer - State: - type: object - properties: - name: - type: string - abbr: - type: string - id: - type: integer - country_id: - type: integer - Country: - type: object - properties: - count: - type: integer - current_page: - type: integer - pages: - type: string - countries: - type: array - items: - type: string Cookies_Consent: type: object properties: @@ -909,173 +865,4 @@ components: type: object properties: id: - type: integer - Order_Verbose: - type: object - properties: - id: - type: integer - number: - type: string - item_total: - type: string - total: - type: string - state: - type: string - adjustment_total: - type: string - user_id: - type: integer - created_at: - type: string - updated_at: - type: string - completed_at: - type: string - payment_total: - type: string - shipment_state: - type: string - payment_state: - type: string - email: - type: string - special_instructions: - type: string - bill_address: - $ref: '#/components/schemas/Address' - ship_address: - $ref: '#/components/schemas/Address' - line_items: - type: array - items: - $ref: '#/components/schemas/Product' - payments: - type: array - items: - $ref: '#/components/schemas/Payment' - shipments: - type: array - items: - $ref: '#/components/schemas/Shipment' - adjustments: - type: array - items: - $ref: '#/components/schemas/Adjustment' - credit_cards: - type: array - items: {} - - Address: - type: object - properties: - id: - type: integer - firstname: - type: string - lastname: - type: string - address1: - type: string - address2: - type: string - city: - type: string - zipcode: - type: string - phone: - type: string - company: - type: string - alternative_phone: - type: string - country_id: - type: integer - state_id: - type: integer - state_name: - type: string - country: - $ref: '#/components/schemas/Country' - state: - $ref: '#/components/schemas/State' - Payment: - type: object - properties: - id: - type: integer - amount: - type: string - state: - type: string - payment_method_id: - type: integer - payment_method: - $ref: '#/components/schemas/Payment_Method' - Payment_Method: - type: object - properties: - id: - type: integer - name: - type: string - environment: - type: string - Shipment: - type: object - properties: - id: - type: integer - tracking: - type: string - number: - type: string - cost: - type: string - shipped_at: - type: string - state: - type: string - order_id: - type: string - shipping_method: - $ref: '#/components/schemas/Shipping_Method' - Shipping_Method: - type: object - properties: - name: - type: string - zone_id: - type: integer - shipping_category_id: - type: string - Adjustment: - type: object - properties: - id: - type: integer - source_type: - type: string - source_id: - type: integer - adjustable_type: - type: string - adjustable_id: - type: integer - originator_type: - type: string - originator_id: - type: integer - amount: - type: string - label: - type: string - mandatory: - type: boolean - eligible: - type: boolean - created_at: - type: string - updated_at: - type: string \ No newline at end of file + type: integer \ No newline at end of file