# Functions
NewDiffWorker Returns a new DiffWorker.
NewGoLangSourceFileReader Returns a new golangSourceFileReader.
NewGoSourceAPILine Returns a new goSourceAPILine.
NewGoSourceScanner Returns a new GoSourceScanner.
NewIgnoredAPIRoutes Returns a new IgnoredAPIPaths.
NewIgnoredDirectories Returns new IgnoredDirectories.
NewIgnoredFiles Returns new IgnoredFiles.
NewIgnoredLines Returns new IgnoredLines.
NewOASModel Returns a new oasModel.
NewOpenAPISpecCodeDiffsValidator Returns a new OpenAPISpecCodeDiffsValidator.
ReadFile Reads file contents and returns its contents as an array of strings.
# Structs
DiffWorker Structure for use as inputs by diff worker, consisting of definitions found in code, specs and api definitions to be ignored.
GoSourceScanner Structure to specify root golang source directory and directories/files/lines to be ignored for scanning of API path definitions.
IgnoredAPIPaths Array of API paths to be ignored while working out diffs between code and specs.
IgnoredDirectories Directories to be ignored while coming up with diffs e.g.
IgnoredFiles Files to be ignored while coming up with diffs.
IgnoredLines Files to be ignored while coming up with diffs.
OpenAPISpecCodeDiffsResult Represents results of diff operation between golang source code and OpenAPI Specs.
OpenAPISpecCodeDiffsValidator The main input struct for this validation tool.