chore: fix OAS for User Login JWT (#5403)
This commit is contained in:
@@ -6,7 +6,7 @@ import { validator } from "../../../../utils/validator"
|
||||
import { AdminPostAuthReq } from "./create-session"
|
||||
|
||||
/**
|
||||
* @oas [post] /admin/token
|
||||
* @oas [post] /admin/auth/token
|
||||
* operationId: "PostToken"
|
||||
* summary: "User Login (JWT)"
|
||||
* x-authenticated: false
|
||||
|
||||
@@ -60,7 +60,7 @@ properties:
|
||||
sku:
|
||||
description: >-
|
||||
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.
|
||||
nullable: true
|
||||
type: string
|
||||
|
||||
@@ -353,6 +353,8 @@ paths:
|
||||
$ref: paths/admin_apps_authorizations.yaml
|
||||
/admin/auth:
|
||||
$ref: paths/admin_auth.yaml
|
||||
/admin/auth/token:
|
||||
$ref: paths/admin_auth_token.yaml
|
||||
/admin/batch-jobs:
|
||||
$ref: paths/admin_batch-jobs.yaml
|
||||
/admin/batch-jobs/{id}:
|
||||
@@ -647,8 +649,6 @@ paths:
|
||||
$ref: paths/admin_tax-rates_{id}_products_batch.yaml
|
||||
/admin/tax-rates/{id}/shipping-options/batch:
|
||||
$ref: paths/admin_tax-rates_{id}_shipping-options_batch.yaml
|
||||
/admin/token:
|
||||
$ref: paths/admin_token.yaml
|
||||
/admin/uploads:
|
||||
$ref: paths/admin_uploads.yaml
|
||||
/admin/uploads/download-url:
|
||||
|
||||
@@ -27,11 +27,11 @@ post:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
source:
|
||||
$ref: ../code_samples/JavaScript/admin_token/post.js
|
||||
$ref: ../code_samples/JavaScript/admin_auth_token/post.js
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
source:
|
||||
$ref: ../code_samples/Shell/admin_token/post.sh
|
||||
$ref: ../code_samples/Shell/admin_auth_token/post.sh
|
||||
tags:
|
||||
- Auth
|
||||
responses:
|
||||
@@ -60,7 +60,7 @@ properties:
|
||||
sku:
|
||||
description: >-
|
||||
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.
|
||||
nullable: true
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user