Discover Packages
github.com/chronosphereio/chronoctl-core/tools
pkg
specscanner
package
Version:
v0.0.0-...-4a78560
Opens a new window with list of versions in this module.
Published: Nov 20, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1 module, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package specscanner provides a generic way to scan a swagger spec.
It provides a Handler interface that can be implemented to receive callbacks
Scan will scan the given spec data and call the implemented methods on the given handler
specData should be the raw bytes of the swagger spec JSON
Handler is the interface that should be implemented to receive callbacks when scanning
a swagger spec.
OperationHandler is an optional interface that can be implemented to receive callbacks when
the scanner encounters a new operation.
ParamHandler is an optional interface that can be implemented to receive callbacks when
the scanner encounters a new parameter.
PathHandler is an optional interface that can be implemented to receive callbacks when
the scanner encounters a new path.
ResponseHandler is an optional interface that can be implemented to receive callbacks when
the scanner encounters a new response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.