mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-11-04 01:37:32 +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'
 | 
						|
};
 |