@stoplight/types
Advanced tools
Comparing version 13.11.0 to 13.12.0
@@ -58,5 +58,14 @@ import { JSONSchema7 } from 'json-schema'; | ||
security?: HttpSecurityScheme[][]; | ||
securityDeclarationType?: HttpOperationSecurityDeclarationTypes; | ||
deprecated?: boolean; | ||
internal?: boolean; | ||
} | ||
export declare enum HttpOperationSecurityDeclarationTypes { | ||
/** Indicates that the operation has no security declarations. */ | ||
None = "none", | ||
/** Indicates that the operation has explicit security declarations. */ | ||
Declared = "declared", | ||
/** Indicates that the operation inherits its security declarations from the service. */ | ||
InheritedFromService = "inheritedFromService" | ||
} | ||
export interface IHttpCallbackOperation<Bundle extends boolean = false> extends Omit<IHttpOperation<Bundle>, 'callbacks'> { | ||
@@ -63,0 +72,0 @@ callbackName: string; |
@@ -0,1 +1,10 @@ | ||
var HttpOperationSecurityDeclarationTypes; | ||
(function (HttpOperationSecurityDeclarationTypes) { | ||
/** Indicates that the operation has no security declarations. */ | ||
HttpOperationSecurityDeclarationTypes["None"] = "none"; | ||
/** Indicates that the operation has explicit security declarations. */ | ||
HttpOperationSecurityDeclarationTypes["Declared"] = "declared"; | ||
/** Indicates that the operation inherits its security declarations from the service. */ | ||
HttpOperationSecurityDeclarationTypes["InheritedFromService"] = "inheritedFromService"; | ||
})(HttpOperationSecurityDeclarationTypes || (HttpOperationSecurityDeclarationTypes = {})); | ||
var HttpParamStyles; | ||
@@ -76,2 +85,2 @@ (function (HttpParamStyles) { | ||
export { DiagnosticSeverity, HttpParamStyles, NodeFormat, NodeType }; | ||
export { DiagnosticSeverity, HttpOperationSecurityDeclarationTypes, HttpParamStyles, NodeFormat, NodeType }; |
@@ -5,2 +5,11 @@ 'use strict'; | ||
exports.HttpOperationSecurityDeclarationTypes = void 0; | ||
(function (HttpOperationSecurityDeclarationTypes) { | ||
/** Indicates that the operation has no security declarations. */ | ||
HttpOperationSecurityDeclarationTypes["None"] = "none"; | ||
/** Indicates that the operation has explicit security declarations. */ | ||
HttpOperationSecurityDeclarationTypes["Declared"] = "declared"; | ||
/** Indicates that the operation inherits its security declarations from the service. */ | ||
HttpOperationSecurityDeclarationTypes["InheritedFromService"] = "inheritedFromService"; | ||
})(exports.HttpOperationSecurityDeclarationTypes || (exports.HttpOperationSecurityDeclarationTypes = {})); | ||
exports.HttpParamStyles = void 0; | ||
@@ -7,0 +16,0 @@ (function (HttpParamStyles) { |
{ | ||
"name": "@stoplight/types", | ||
"version": "13.11.0", | ||
"version": "13.12.0", | ||
"description": "Common typings for the Stoplight ecosystem.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40831
753