File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
OpenAPIKit30/Schema Object Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ public protocol JSONSchemaContext {
127
127
var vendorExtensions : [ String : AnyCodable ] { get }
128
128
}
129
129
130
+ extension JSONSchemaContext {
131
+ // Default implementation to make addition of this new property which is only
132
+ // supposed to be set internally a non-breaking addition.
133
+ public var inferred : Bool { false }
134
+ }
135
+
130
136
extension JSONSchema {
131
137
/// The context that applies to all schemas.
132
138
public struct CoreContext < Format: OpenAPIFormat > : JSONSchemaContext , Equatable {
Original file line number Diff line number Diff line change @@ -124,6 +124,12 @@ public protocol JSONSchemaContext {
124
124
var deprecated : Bool { get }
125
125
}
126
126
127
+ extension JSONSchemaContext {
128
+ // Default implementation to make addition of this new property which is only
129
+ // supposed to be set internally a non-breaking addition.
130
+ public var inferred : Bool { false }
131
+ }
132
+
127
133
extension JSONSchema {
128
134
/// The context that applies to all schemas.
129
135
public struct CoreContext < Format: OpenAPIFormat > : JSONSchemaContext , Equatable {
You can’t perform that action at this time.
0 commit comments