Versions in this module Expand all Collapse all v0 v0.5.0 Jul 26, 2026 Changes in this version + type Fixer interface + ConformancePath func(ctx context.Context, spec []byte, targetLevel string, opts *Options) (*types.ConformancePath, error) + DesignCheck func(ctx context.Context, resource string, operations []string, opts *Options) (*types.DesignCheck, error) + SuggestFixes func(ctx context.Context, spec []byte, violations []types.Violation, opts *Options) (*types.FixReport, error) + type Options struct + IncludePatch bool + MaxSuggestions int + Profile string + UseLLM bool + func DefaultOptions() *Options + type RuleFixer struct + func NewRuleFixer(profile *types.APIStyleSpec) *RuleFixer + func (f *RuleFixer) ConformancePath(_ context.Context, _ []byte, targetLevel string, _ *Options) (*types.ConformancePath, error) + func (f *RuleFixer) DesignCheck(_ context.Context, resource string, operations []string, _ *Options) (*types.DesignCheck, error) + func (f *RuleFixer) SuggestFixes(ctx context.Context, spec []byte, violations []types.Violation, opts *Options) (*types.FixReport, error)