compare

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 12 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.

Documentation

Overview

Package compare implements the default OpenAPI change-detector plugin.

Index

Constants

View Source
const StabilityExtension = "x-stability-level"

StabilityExtension marks an operation's stability. Changes to an operation at an unstable level are never breaking.

Variables

View Source
var UnstableLevels = []string{"draft", "alpha"}

UnstableLevels are the x-stability-level values whose operations may change without a breaking change.

Functions

This section is empty.

Types

type Plugin

type Plugin struct{}

Plugin is the default OpenAPI change detector.

func (Plugin) Compare

Compare detects breaking and non-breaking changes between two OpenAPI documents.

func (Plugin) ID

func (Plugin) ID() string

ID returns the plugin identifier.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL