mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-14 12:56:34 +03:00
27 lines
556 B
TypeScript
27 lines
556 B
TypeScript
'use strict';
|
|
|
|
export const methods = new Set(['get', 'put', 'post', 'delete', 'options', 'head', 'patch']);
|
|
|
|
export const keywordTypes = {
|
|
multipleOf: 'number',
|
|
maximum: 'number',
|
|
exclusiveMaximum: 'number',
|
|
minimum: 'number',
|
|
exclusiveMinimum: 'number',
|
|
|
|
maxLength: 'string',
|
|
minLength: 'string',
|
|
pattern: 'string',
|
|
|
|
items: 'array',
|
|
maxItems: 'array',
|
|
minItems: 'array',
|
|
uniqueItems: 'array',
|
|
|
|
maxProperties: 'object',
|
|
minProperties: 'object',
|
|
required: 'object',
|
|
additionalProperties: 'object',
|
|
properties: 'object'
|
|
};
|