Versions in this module Expand all Collapse all v0 v0.16.2 Jun 10, 2024 Changes in this version + func CompareDocuments(original, updated Document) (*model.DocumentChanges, []error) + type Document interface + BuildV2Model func() (*DocumentModel[v2high.Swagger], []error) + BuildV3Model func() (*DocumentModel[v3high.Document], []error) + GetConfiguration func() *datamodel.DocumentConfiguration + GetRolodex func() *index.Rolodex + GetSpecInfo func() *datamodel.SpecInfo + GetVersion func() string + Render func() ([]byte, error) + RenderAndReload func() ([]byte, Document, *DocumentModel[v3high.Document], []error) + Serialize func() ([]byte, error) + SetConfiguration func(configuration *datamodel.DocumentConfiguration) + func NewDocument(specByteArray []byte) (Document, error) + func NewDocumentWithConfiguration(specByteArray []byte, configuration *datamodel.DocumentConfiguration) (Document, error) + func NewDocumentWithTypeCheck(specByteArray []byte, bypassCheck bool) (Document, error) + type DocumentModel struct + Index *index.SpecIndex + Model T