DogSchema class

Provides the ability to generate openapi schema objects for all registered structures.

Constructors

DogSchema.create()
Creates a new instance of DogSchema.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getApiDocument() → APIDocument
Returns a mockup of the openapi document.
getApiJson() String
Returns the openapi mockup document as a json string.
getStructureSchema(DogStructure structure) MapEntry<String, APISchemaObject>
Returns the schema object mapping for structure.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieveComponents() → APIComponents
Returns the component part of the openapi document.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited