fix(oas): fix OAS typos in AdminVariant (#3453)

This commit is contained in:
Patrick
2023-03-12 04:43:06 -04:00
committed by GitHub
parent d4af873113
commit b7a48e51df
2 changed files with 5 additions and 2 deletions

View File

@@ -9,8 +9,11 @@ import { FindParams } from "../../../../types/common"
* x-authenticated: true
* parameters:
* - (path) id=* {string} The ID of the variant.
* - (query) expand {string} (Comma separated) Which fields should be expanded the order of the result.
* - (query) fields {string} (Comma separated) Which fields should be included the order of the result.
* x-codegen:
* method: retrieve
* queryParams: AdminGetVariantParams
* x-codeSamples:
* - lang: JavaScript
* label: JS Client
@@ -38,7 +41,7 @@ import { FindParams } from "../../../../types/common"
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/AdminVariantRes"
* $ref: "#/components/schemas/AdminVariantsRes"
* "400":
* $ref: "#/components/responses/400_error"
* "401":

View File

@@ -100,7 +100,7 @@ export type AdminVariantsListRes = PaginatedResponse & {
}
/**
* @schema AdminVariantRes
* @schema AdminVariantsRes
* type: object
* required:
* - variant