UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 4.95 kB
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/tsoa","title":"tsoa","definitions":{"RoutesConfig":{"properties":{"authenticationModule":{"type":"string"},"basePath":{"type":"string"},"iocModule":{"type":"string"},"middleware":{"enum":["express","hapi","koa"],"type":"string"},"middlewareTemplate":{"type":"string"},"routesDir":{"type":"string"},"routesFileName":{"type":"string"}},"type":"object"},"SpecConfig":{"properties":{"basePath":{"type":"string"},"contact":{"properties":{"email":{"default":"npm package author email","type":"string"},"name":{"default":"npm package author","type":"string"},"url":{"default":"npm package author url","type":"string"}},"type":"object"},"description":{"type":"string"},"host":{"type":"string"},"license":{"type":"string"},"name":{"type":"string"},"outputDirectory":{"type":"string"},"schemes":{"items":{"enum":["http","https","ws","wss"],"type":"string"},"type":"array"},"securityDefinitions":{"additionalProperties":{"anyOf":[{"$ref":"#/definitions/Swagger.BasicSecurity3"},{"$ref":"#/definitions/Swagger.BasicSecurity"},{"$ref":"#/definitions/Swagger.ApiKeySecurity"},{"$ref":"#/definitions/Swagger.OAuth2Security3"},{"$ref":"#/definitions/Swagger.OAuth2ImplicitSecurity"},{"$ref":"#/definitions/Swagger.OAuth2PasswordSecurity"},{"$ref":"#/definitions/Swagger.OAuth2ApplicationSecurity"},{"$ref":"#/definitions/Swagger.OAuth2AccessCodeSecurity"}]},"type":"object"},"spec":{},"specMerging":{"default":"'immediate'","enum":["deepmerge","immediate","recursive"],"type":"string"},"specVersion":{"enum":[2,3],"type":"number"},"tags":{"items":{"$ref":"#/definitions/Swagger.Tag"},"type":"array"},"version":{"type":"string"},"yaml":{"type":"boolean"}},"type":"object"},"Swagger.ApiKeySecurity":{"properties":{"description":{"type":"string"},"in":{"enum":["header","query"],"type":"string"},"name":{"type":"string"},"type":{"enum":["apiKey"],"type":"string"}},"type":"object"},"Swagger.BasicSecurity":{"properties":{"description":{"type":"string"},"type":{"enum":["basic"],"type":"string"}},"type":"object"},"Swagger.BasicSecurity3":{"properties":{"description":{"type":"string"},"scheme":{"enum":["basic"],"type":"string"},"type":{"enum":["http"],"type":"string"}},"type":"object"},"Swagger.ExternalDocs":{"properties":{"description":{"type":"string"},"url":{"type":"string"}},"type":"object"},"Swagger.OAuth2AccessCodeSecurity":{"properties":{"authorizationUrl":{"type":"string"},"description":{"type":"string"},"flow":{"enum":["accessCode"],"type":"string"},"scopes":{"$ref":"#/definitions/Swagger.OAuthScope"},"tokenUrl":{"type":"string"},"type":{"enum":["oauth2"],"type":"string"}},"type":"object"},"Swagger.OAuth2ApplicationSecurity":{"properties":{"description":{"type":"string"},"flow":{"enum":["application"],"type":"string"},"scopes":{"$ref":"#/definitions/Swagger.OAuthScope"},"tokenUrl":{"type":"string"},"type":{"enum":["oauth2"],"type":"string"}},"type":"object"},"Swagger.OAuth2ImplicitSecurity":{"properties":{"authorizationUrl":{"type":"string"},"description":{"type":"string"},"flow":{"enum":["implicit"],"type":"string"},"scopes":{"$ref":"#/definitions/Swagger.OAuthScope"},"type":{"enum":["oauth2"],"type":"string"}},"type":"object"},"Swagger.OAuth2PasswordSecurity":{"properties":{"description":{"type":"string"},"flow":{"enum":["password"],"type":"string"},"scopes":{"$ref":"#/definitions/Swagger.OAuthScope"},"tokenUrl":{"type":"string"},"type":{"enum":["oauth2"],"type":"string"}},"type":"object"},"Swagger.OAuth2Security3":{"properties":{"description":{"type":"string"},"flows":{"$ref":"#/definitions/Swagger.OAuthFlow"},"type":{"enum":["oauth2"],"type":"string"}},"type":"object"},"Swagger.OAuth2SecurityFlow3":{"properties":{"authorizationUrl":{"type":"string"},"description":{"type":"string"},"scopes":{"$ref":"#/definitions/Swagger.OAuthScope"},"tokenUrl":{"type":"string"}},"type":"object"},"Swagger.OAuthFlow":{"properties":{"authorizationCode":{"$ref":"#/definitions/Swagger.OAuth2SecurityFlow3"},"clientCredentials":{"$ref":"#/definitions/Swagger.OAuth2SecurityFlow3"},"implicit":{"$ref":"#/definitions/Swagger.OAuth2SecurityFlow3"},"password":{"$ref":"#/definitions/Swagger.OAuth2SecurityFlow3"}},"type":"object"},"Swagger.OAuthScope":{"additionalProperties":{"type":"string"},"type":"object"},"Swagger.Tag":{"properties":{"description":{"type":"string"},"externalDocs":{"$ref":"#/definitions/Swagger.ExternalDocs"},"name":{"type":"string"}},"type":"object"}},"allOf":[{"$ref":"https://json.schemastore.org/tsconfig#/definitions/compilerOptionsDefinition"},{"properties":{"controllerPathGlobs":{"items":{"type":"string"},"type":"array"},"entryFile":{"type":"string"},"ignore":{"items":{"type":"string"},"type":"array"},"noImplicitAdditionalProperties":{"enum":["ignore","silently-remove-extras","throw-on-extras"],"type":"string"},"routes":{"$ref":"#/definitions/RoutesConfig"},"spec":{"$ref":"#/definitions/SpecConfig"}}}],"type":"object"}