@@ -31,6 +31,28 @@ paths:
3131 schema :
3232 $ref : ' #/components/schemas/_customer_get_200_response'
3333 description : Successful retrieval
34+ headers :
35+ Access-Control-Allow-Origin :
36+ description : Allowed origins for CORS
37+ explode : false
38+ schema :
39+ example : ' *'
40+ type : string
41+ style : simple
42+ Access-Control-Allow-Methods :
43+ description : Allowed HTTP methods
44+ explode : false
45+ schema :
46+ example : " GET, POST, PUT, DELETE"
47+ type : string
48+ style : simple
49+ Access-Control-Allow-Headers :
50+ description : Allowed headers for CORS
51+ explode : false
52+ schema :
53+ example : " Content-Type, Authorization"
54+ type : string
55+ style : simple
3456 summary : Get customer details using the MasterId
3557 tags :
3658 - Customer
@@ -55,12 +77,42 @@ paths:
5577 schema :
5678 $ref : ' #/components/schemas/_customer_post_200_response'
5779 description : Successful registration
80+ headers :
81+ Access-Control-Allow-Origin :
82+ description : Allowed origins for CORS
83+ explode : false
84+ schema :
85+ example : ' *'
86+ type : string
87+ style : simple
88+ Access-Control-Allow-Methods :
89+ description : Allowed HTTP methods
90+ explode : false
91+ schema :
92+ example : " GET, POST, PUT, DELETE"
93+ type : string
94+ style : simple
95+ Access-Control-Allow-Headers :
96+ description : Allowed headers for CORS
97+ explode : false
98+ schema :
99+ example : " Content-Type, Authorization"
100+ type : string
101+ style : simple
58102 " 409 " :
59103 content :
60104 application/json :
61105 schema :
62106 $ref : ' #/components/schemas/_customer_post_409_response'
63107 description : Conflict - User already exists
108+ headers :
109+ Access-Control-Allow-Origin :
110+ description : Allowed origins for CORS
111+ explode : false
112+ schema :
113+ example : ' *'
114+ type : string
115+ style : simple
64116 summary : Create a new customer in the database
65117 tags :
66118 - Customer
0 commit comments