chore: fix OAS for User Login JWT (#5403)
This commit is contained in:
1 parent
453297f525
commit
49ed7de752
7 files changed
+7
-7
No files matched your search
@@ -6,7 +6,7 @@ import { validator } from "../../../../utils/validator"
|
|||||||
import { AdminPostAuthReq } from "./create-session"
|
import { AdminPostAuthReq } from "./create-session"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @oas [post] /admin/token
|
* @oas [post] /admin/auth/token
|
||||||
* operationId: "PostToken"
|
* operationId: "PostToken"
|
||||||
* summary: "User Login (JWT)"
|
* summary: "User Login (JWT)"
|
||||||
* x-authenticated: false
|
* x-authenticated: false
|
||||||
|
|||||||
File renamed without changes.
File renamed without changes.
@@ -60,7 +60,7 @@ properties:
|
|||||||
sku:
|
sku:
|
||||||
description: >-
|
description: >-
|
||||||
The unique stock keeping unit used to identify the Product Variant. This
|
The unique stock keeping unit used to identify the Product Variant. This
|
||||||
will usually be a unqiue identifer for the item that is to be shipped, and
|
will usually be a unique identifer for the item that is to be shipped, and
|
||||||
can be referenced across multiple systems.
|
can be referenced across multiple systems.
|
||||||
nullable: true
|
nullable: true
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
@@ -353,6 +353,8 @@ paths:
|
|||||||
$ref: paths/admin_apps_authorizations.yaml
|
$ref: paths/admin_apps_authorizations.yaml
|
||||||
/admin/auth:
|
/admin/auth:
|
||||||
$ref: paths/admin_auth.yaml
|
$ref: paths/admin_auth.yaml
|
||||||
|
/admin/auth/token:
|
||||||
|
$ref: paths/admin_auth_token.yaml
|
||||||
/admin/batch-jobs:
|
/admin/batch-jobs:
|
||||||
$ref: paths/admin_batch-jobs.yaml
|
$ref: paths/admin_batch-jobs.yaml
|
||||||
/admin/batch-jobs/{id}:
|
/admin/batch-jobs/{id}:
|
||||||
@@ -647,8 +649,6 @@ paths:
|
|||||||
$ref: paths/admin_tax-rates_{id}_products_batch.yaml
|
$ref: paths/admin_tax-rates_{id}_products_batch.yaml
|
||||||
/admin/tax-rates/{id}/shipping-options/batch:
|
/admin/tax-rates/{id}/shipping-options/batch:
|
||||||
$ref: paths/admin_tax-rates_{id}_shipping-options_batch.yaml
|
$ref: paths/admin_tax-rates_{id}_shipping-options_batch.yaml
|
||||||
/admin/token:
|
|
||||||
$ref: paths/admin_token.yaml
|
|
||||||
/admin/uploads:
|
/admin/uploads:
|
||||||
$ref: paths/admin_uploads.yaml
|
$ref: paths/admin_uploads.yaml
|
||||||
/admin/uploads/download-url:
|
/admin/uploads/download-url:
|
||||||
|
|||||||
+2
-2
@@ -27,11 +27,11 @@ post:
|
|||||||
- lang: JavaScript
|
- lang: JavaScript
|
||||||
label: JS Client
|
label: JS Client
|
||||||
source:
|
source:
|
||||||
$ref: ../code_samples/JavaScript/admin_token/post.js
|
$ref: ../code_samples/JavaScript/admin_auth_token/post.js
|
||||||
- lang: Shell
|
- lang: Shell
|
||||||
label: cURL
|
label: cURL
|
||||||
source:
|
source:
|
||||||
$ref: ../code_samples/Shell/admin_token/post.sh
|
$ref: ../code_samples/Shell/admin_auth_token/post.sh
|
||||||
tags:
|
tags:
|
||||||
- Auth
|
- Auth
|
||||||
responses:
|
responses:
|
||||||
@@ -60,7 +60,7 @@ properties:
|
|||||||
sku:
|
sku:
|
||||||
description: >-
|
description: >-
|
||||||
The unique stock keeping unit used to identify the Product Variant. This
|
The unique stock keeping unit used to identify the Product Variant. This
|
||||||
will usually be a unqiue identifer for the item that is to be shipped, and
|
will usually be a unique identifer for the item that is to be shipped, and
|
||||||
can be referenced across multiple systems.
|
can be referenced across multiple systems.
|
||||||
nullable: true
|
nullable: true
|
||||||
type: string
|
type: string
|
||||||
|
|||||||
Reference in new issue
Block a user