diff --git a/storage/api-docs/egress/payment/components.yml b/storage/api-docs/egress/payment/components.yml index b8d8ab0..75ece3f 100644 --- a/storage/api-docs/egress/payment/components.yml +++ b/storage/api-docs/egress/payment/components.yml @@ -64,62 +64,6 @@ components: minItems: 0 items: $ref: '#/components/schemas/binding' - example: - transport : - - id: 1 - type: 1 - name: "PPL" - price: 4 - description: "Within 1 - 2 working days." - - id: 2 - type: 1 - name: "Slovenská pošta" - price: 3.5 - description: "Within 2-3 working days." - - id: 4 - type: 2 - name: "Personal subscription Lozorno" - price: 0 - description: "We will tell you that the goods are ready for collection..." - store: - id: 2020 - type: 1 - payment: - - id: 123 - type: 1 - price: 1 - name: "Dobierka Slovenská pošta" - - id: 200 - type: 1 - price: 1.1 - name: "Dobierka PPL" - - id: 300 - type: 3 - price: 0.00 - name: "Platba kartou" - - id: 100 - type: 2 - price: 0.33 - name: "Payment on collection" - binding: - - id: 1 - transportId: 1 - paymentId: 200 - - id: 5 - transportId: 1 - paymentId: 300 - - id: 2 - transportId: 2 - paymentId: 123 - - id: 6 - transportId: 2 - paymentId: 300 - - id: 4 - transportId: 4 - paymentId: 300 - - id: 7 - transportId: 4 - paymentId: 100 transport: type: object diff --git a/storage/api-docs/egress/products/components.yml b/storage/api-docs/egress/products/components.yml index 58d7c10..25e0348 100644 --- a/storage/api-docs/egress/products/components.yml +++ b/storage/api-docs/egress/products/components.yml @@ -53,25 +53,6 @@ components: type: array items: $ref: '#/components/schemas/ProductsAvailability' - example: - - id: ABC123 - count: 3 - available: true - delivery: 0 - name: "Tactical Velvet Smoothie pre Apple iPhone 14 57983109814" - price: 10.99 - related: - [title: "Free gift bag", title: "Free delivery"] - priceTotal: 10.99 - - id: DFC123 - count: 2 - available: true - delivery: 1 - name: "Apple iPhone 10 45EA11111" - price: 14.99 - related: - [title: "Free gift baseball cap"] - priceTotal: 14.99 priceSum: description: Total price (for all products) type: number diff --git a/swagger.yaml b/swagger.yaml index 099eba2..4144b15 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -164,40 +164,7 @@ "example": 10.99 } } - }, - "example": [ - { - "id": "ABC123", - "count": 3, - "available": true, - "delivery": 0, - "name": "Tactical Velvet Smoothie pre Apple iPhone 14 57983109814", - "price": 10.99, - "related": [ - { - "title": "Free gift bag" - }, - { - "title": "Free delivery" - } - ], - "priceTotal": 10.99 - }, - { - "id": "DFC123", - "count": 2, - "available": true, - "delivery": 1, - "name": "Apple iPhone 10 45EA11111", - "price": 14.99, - "related": [ - { - "title": "Free gift baseball cap" - } - ], - "priceTotal": 14.99 - } - ] + } }, "priceSum": { "description": "Total price (for all products)", @@ -419,93 +386,6 @@ } } } - }, - "example": { - "transport": [ - { - "id": 1, - "type": 1, - "name": "PPL", - "price": 4, - "description": "Within 1 - 2 working days." - }, - { - "id": 2, - "type": 1, - "name": "Slovenská pošta", - "price": 3.5, - "description": "Within 2-3 working days." - }, - { - "id": 4, - "type": 2, - "name": "Personal subscription Lozorno", - "price": 0, - "description": "We will tell you that the goods are ready for collection...", - "store": { - "id": 2020, - "type": 1 - } - } - ], - "payment": [ - { - "id": 123, - "type": 1, - "price": 1, - "name": "Dobierka Slovenská pošta" - }, - { - "id": 200, - "type": 1, - "price": 1.1, - "name": "Dobierka PPL" - }, - { - "id": 300, - "type": 3, - "price": 0, - "name": "Platba kartou" - }, - { - "id": 100, - "type": 2, - "price": 0.33, - "name": "Payment on collection" - } - ], - "binding": [ - { - "id": 1, - "transportId": 1, - "paymentId": 200 - }, - { - "id": 5, - "transportId": 1, - "paymentId": 300 - }, - { - "id": 2, - "transportId": 2, - "paymentId": 123 - }, - { - "id": 6, - "transportId": 2, - "paymentId": 300 - }, - { - "id": 4, - "transportId": 4, - "paymentId": 300 - }, - { - "id": 7, - "transportId": 4, - "paymentId": 100 - } - ] } } ]