зеркало из https://github.com/Azure/sway.git
x-ms-enum (#68)
This commit is contained in:
Родитель
b886814f8d
Коммит
9a9c01386e
|
@ -46,6 +46,11 @@ type PathItemObject = PathItemObjectMethods & {
|
|||
parameters?: ReadonlyArray<ParameterObject>
|
||||
}
|
||||
|
||||
type XMsEnum = {
|
||||
readonly name: string
|
||||
readonly modelAsString?: boolean
|
||||
} & json.EmptyObject
|
||||
|
||||
type SchemaObject = {
|
||||
type?: DataType
|
||||
items?: SchemaObject
|
||||
|
@ -64,6 +69,7 @@ type SchemaObject = {
|
|||
"x-ms-azure-resource"?: boolean
|
||||
anyOf?: ReadonlyArray<SchemaObject>
|
||||
title?: string
|
||||
"x-ms-enum"?: XMsEnum
|
||||
} & json.EmptyObject
|
||||
|
||||
type DataType =
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "yasway",
|
||||
"version": "1.5.13",
|
||||
"version": "1.5.14",
|
||||
"description": "A library that simplifies Swagger integrations.",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
|
|
Загрузка…
Ссылка в новой задаче