NotOfResolver
enum NotOfResolver
Undocumented
-
Resolves $not types
Throws
throws if type cannot be resolvedDeclaration
Swift
static func resolve(objectName name: String, schema: JSONSchema) throws -> NotModelParameters
namename of object
schemaschemas to check
Return Value
NotModel
-
types which are references in NotModels
Declaration
Swift
static var notOfReferences: [String] -
types which are referenced by NotModel references
Declaration
Swift
static var notOfReferred: [String] -
Returns true if the given type is generic (only possible when somehow referenced to $not model)
Declaration
Swift
static func isGeneric(type: String) -> BoolParameters
typetype to check
Return Value
true if generic
-
Resolves all objects which reference a $not model either directly or indirectly
Declaration
Swift
static func resolveReferenced(objects: [ObjectModel?])Parameters
objectslist of object models to check
View on GitHub
NotOfResolver Enumeration Reference