-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yml
84 lines (69 loc) · 1.99 KB
/
openapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
openapi: 3.0.3
info:
title: EmporioLambda BE
description: Queste sono le OpenAPI per EmporioLambda
version: 0.4.2
servers:
# Added by API Auto Mocking Plugin
- description: SwaggerHub API Auto Mocking
url: https://virtserver.swaggerhub.com/swexception4/OpenAPI/0.4.0
- description: serverless offline
url: http://localhost:4000/dev/
paths:
/categories:
$ref: "categories/openapi/categories.yml"
/categories/{id}:
$ref: "categories/openapi/categoriesByID.yml"
/products:
$ref: "products/openapi/products.yml"
/products/{id}:
$ref: "products/openapi/productsByID.yml"
/taxes:
$ref: "taxes/openapi/taxes.yml"
/taxes/{id}:
$ref: "taxes/openapi/taxesByID.yml"
/cart:
$ref: "carts/openapi/cart.yml"
/cart/product/{id}:
$ref: "carts/openapi/cartByID.yml"
/addresses:
$ref: "addresses/openapi/addresses.yml"
/addresses/{id}:
$ref: "addresses/openapi/addressesByID.yml"
/checkout:
$ref: "orders/openapi/checkout.yml"
/checkout/{intent-id}:
$ref: "orders/openapi/checkoutByID.yml"
/orders:
$ref: "orders/openapi/orders.yml"
/orders/{id}:
$ref: "orders/openapi/ordersByID.yml"
/orders/{id}/refund:
$ref: "orders/openapi/ordersByIDRefund.yml"
/users/check/{token}:
$ref: "users/openapi/checkJWT.yml"
/users/customers:
$ref: "users/openapi/customers.yml"
/users/customers/{username}:
$ref: "users/openapi/customersByID.yml"
/users/customers/check/{token}:
$ref: "users/openapi/checkUserJWT.yml"
/users/vendors/check/{token}:
$ref: "users/openapi/checkUserJWT.yml"
tags:
- name: categories
description: "API for categories"
- name: products
description: "API for products"
- name: taxes
description: "API for taxes"
- name: cart
description: "API for cart"
- name: addresses
description: "API for addresses"
- name: checkout
description: "API for checkout"
- name: orders
description: "API for orders"
- name: users
description: "API for users"