mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-18 04:46:18 +03:00
27 lines
559 B
TypeScript
27 lines
559 B
TypeScript
'use strict';
|
|
|
|
export const operations = 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'
|
|
};
|