chore(docs): Generated API Reference (#4706)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
This commit is contained in:
github-actions[bot]
2023-08-07 16:54:48 +03:00
committed by GitHub
co-authored by olivermrbl Shahed Nasser
parent efdea04963
commit 658339767b
1138 changed files with 11740 additions and 7043 deletions
+6 -4
View File
@@ -1,7 +1,7 @@
get:
operationId: GetAuth
summary: Get Current Customer
description: Gets the currently logged in Customer.
description: Retrieve the currently logged in Customer's details.
x-authenticated: true
x-codegen:
method: getSession
@@ -41,8 +41,10 @@ post:
operationId: PostAuth
summary: Customer Login
description: >-
Logs a Customer in and authorizes them to view their details. Successful
authentication will set a session cookie in the Customer's browser.
Log a customer in and includes the Cookie session in the response header.
The cookie session can be used in subsequent requests to authenticate the
customer. When using Medusa's JS or Medusa React clients, the cookie is
automatically attached to subsequent requests.
requestBody:
content:
application/json:
@@ -83,7 +85,7 @@ post:
delete:
operationId: DeleteAuth
summary: Customer Log out
description: Destroys a Customer's authenticated session.
description: Delete the current session for the logged in customer.
x-authenticated: true
x-codegen:
method: deleteSession