зеркало из https://github.com/Azure/sway.git
StringMap (#60)
This commit is contained in:
Родитель
8c9bf61fe4
Коммит
d2bccb6933
|
@ -1,4 +1,4 @@
|
|||
import { MutableStringMap } from "@ts-common/string-map";
|
||||
import { MutableStringMap, StringMap } from "@ts-common/string-map";
|
||||
|
||||
// https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#info-object
|
||||
interface InfoObject {
|
||||
|
@ -83,8 +83,11 @@ type ResponseSchemaObject = SchemaObject|FileSchemaObject
|
|||
interface ResponseObject {
|
||||
description: string
|
||||
schema?: ResponseSchemaObject
|
||||
examples?: ExampleObject
|
||||
}
|
||||
|
||||
type ExampleObject = StringMap<unknown>
|
||||
|
||||
type PathItemObjectMethods = { [m in Methods]?: OperationObject }
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "yasway",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "yasway",
|
||||
"version": "1.3.0",
|
||||
"version": "1.3.1",
|
||||
"description": "A library that simplifies Swagger integrations.",
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
|
|
Загрузка…
Ссылка в новой задаче