UNPKG

oas

Version:

Comprehensive tooling for working with OpenAPI definitions

32 lines (30 loc) 1.32 kB
declare const AnalyzerQueries: readonly ["mediaTypes", "operationTotal", "securityTypes", "additionalProperties", "callbacks", "circularRefs", "commonParameters", "discriminators", "links", "style", "polymorphism", "references", "serverVariables", "xmlRequests", "xmlResponses", "xmlSchemas", "webhooks"]; type AnalyzerQuery = (typeof AnalyzerQueries)[number]; interface OASAnalysisFeature { locations: string[]; present: boolean; } interface OASAnalysisGeneral { found: string[] | number; name: string; } interface OASAnalysis { mediaTypes?: OASAnalysisGeneral; operationTotal?: OASAnalysisGeneral; securityTypes?: OASAnalysisGeneral; additionalProperties?: OASAnalysisFeature; callbacks?: OASAnalysisFeature; circularRefs?: OASAnalysisFeature; commonParameters?: OASAnalysisFeature; discriminators?: OASAnalysisFeature; links?: OASAnalysisFeature; polymorphism?: OASAnalysisFeature; references?: OASAnalysisFeature; serverVariables?: OASAnalysisFeature; style?: OASAnalysisFeature; xmlRequests?: OASAnalysisFeature; xmlResponses?: OASAnalysisFeature; xmlSchemas?: OASAnalysisFeature; webhooks?: OASAnalysisFeature; } export { AnalyzerQueries, type AnalyzerQuery, type OASAnalysis, type OASAnalysisFeature, type OASAnalysisGeneral };