|
7 | 7 | "data": { |
8 | 8 | "type": "array", |
9 | 9 | "items": { |
10 | | - "$ref": "./storeLocation.json#/schemas/components/StoreLocation" |
| 10 | + "$ref": "./storeLocation.json#/components/schemas/StoreLocation" |
11 | 11 | } |
12 | 12 | }, |
13 | 13 | "meta": { |
|
20 | 20 | "generateBarcode": { |
21 | 21 | "post": { |
22 | 22 | "tags": ["unit"], |
23 | | - "operationId": "createFee", |
| 23 | + "operationId": "generateBarcode", |
24 | 24 | "summary": "Generate Cash Deposit Barcode", |
25 | 25 | "description": "Generate Cash Deposit Barcode via API ", |
26 | 26 | "requestBody": { |
|
54 | 54 | } |
55 | 55 | } |
56 | 56 | }, |
57 | | - "listByCoordinates": { |
| 57 | + "listCashDepositStoreLocations": { |
58 | 58 | "get": { |
59 | 59 | "tags": ["unit"], |
60 | | - "operationId": "getCashDepositStoreLocationsListByCoordinates", |
| 60 | + "operationId": "getCashDepositStoreLocationsList", |
61 | 61 |
|
62 | 62 | "summary": "Get Cash Deposit Store Locations List By Coordinates", |
63 | 63 | "description": "Get Cash Deposit Store Locations List By Coordinates from API ", |
64 | | - "parameters": [ |
65 | | - { |
66 | | - "$ref": "../types.json#/components/schemas/PageQuery" |
67 | | - }, |
68 | | - { |
69 | | - "name": "filter", |
70 | | - "in": "query", |
71 | | - "style": "deepObject", |
72 | | - "allowReserved": true, |
73 | | - "schema": { |
74 | | - "type": "object", |
75 | | - "properties": { |
76 | | - "coordinates": { |
77 | | - "$ref": "../types.json#/components/schemas/Coordinates" |
78 | | - }, |
79 | | - "serviceType": { |
80 | | - "type": "string", |
81 | | - "enum": ["Swipe", "Barcode"] |
82 | | - } |
83 | | - } |
84 | | - } |
85 | | - } |
86 | | - ], |
87 | | - "responses": { |
88 | | - "200": { |
89 | | - "description": "Successful Response", |
90 | | - "content": { |
91 | | - "application/vnd.api+json; charset=utf-8": { |
92 | | - "schema": { |
93 | | - "$ref": "#/components/schemas/UnitStoreLocationsListResponse" |
94 | | - } |
95 | | - } |
96 | | - } |
97 | | - } |
98 | | - } |
99 | | - } |
100 | | - }, |
101 | | - "listByPostalCode": { |
102 | | - "get": { |
103 | | - "tags": ["unit"], |
104 | | - "operationId": "getCashDepositStoreLocationsListByPostalCode", |
105 | | - |
106 | | - "summary": "Get Cash Deposit Store Locations List By Postal Code", |
107 | | - "description": "Get Cash Deposit Store Locations List By Postal Code from API ", |
108 | 64 | "parameters": [ |
109 | 65 | { |
110 | 66 | "$ref": "../types.json#/components/schemas/PageQuery" |
|
120 | 76 | "postalCode": { |
121 | 77 | "type": "string" |
122 | 78 | }, |
| 79 | + "coordinates": { |
| 80 | + "$ref": "../types.json#/components/schemas/Coordinates" |
| 81 | + }, |
123 | 82 | "serviceType": { |
124 | 83 | "type": "string", |
125 | 84 | "enum": ["Swipe", "Barcode"] |
126 | 85 | } |
127 | | - } |
| 86 | + }, |
| 87 | + "required": ["serviceType"] |
128 | 88 | } |
129 | 89 | } |
130 | 90 | ], |
|
150 | 110 | "summary": "Get Barcode Image By Barcode Number", |
151 | 111 | "description": "Get Barcode Image By Barcode Number from API ", |
152 | 112 | "parameters": [ |
153 | | - { |
154 | | - "$ref": "../types.json#/components/schemas/PageQuery" |
155 | | - }, |
156 | 113 | { |
157 | 114 | "name": "barcodeNumber", |
158 | | - "in": "query", |
| 115 | + "in": "path", |
159 | 116 | "required": true, |
160 | 117 | "schema": { |
161 | 118 | "type": "string" |
|
0 commit comments