openapi

package
v0.0.0-...-d157f68 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: AGPL-3.0 Imports: 53 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenapiV3ParameterProxy

type OpenapiV3ParameterProxy struct {
	Schema          json.RawMessage `json:"schema,omitempty" yaml:"schema,omitempty"`
	In              string          `json:"in,omitempty" yaml:"in,omitempty"`
	Name            string          `json:"name,omitempty" yaml:"name,omitempty"`
	Description     string          `json:"description,omitempty" yaml:"description,omitempty"`
	Required        *bool           `json:"required,omitempty" yaml:"required,omitempty"`
	Deprecated      bool            `json:"deprecated,omitempty" yaml:"deprecated,omitempty"`
	AllowEmptyValue bool            `json:"allowEmptyValue,omitempty" yaml:"allowEmptyValue,omitempty"`
	Style           string          `json:"style,omitempty" yaml:"style,omitempty"`
	Explode         *bool           `json:"explode,omitempty" yaml:"explode,omitempty"`
}

type ProcessError

type ProcessError struct {
	// contains filtered or unexported fields
}

func (*ProcessError) Error

func (e *ProcessError) Error() string

func (*ProcessError) Reason

func (e *ProcessError) Reason() string

func (*ProcessError) Unwrap

func (e *ProcessError) Unwrap() error

type ToolExtractor

type ToolExtractor struct {
	// contains filtered or unexported fields
}

func NewToolExtractor

func NewToolExtractor(logger *slog.Logger, tracerProvider trace.TracerProvider, db *pgxpool.Pool, fp feature.Provider, assetStorage assets.BlobStore) *ToolExtractor

func (*ToolExtractor) Do

type ToolExtractorResult

type ToolExtractorResult struct {
	DocumentVersion         string
	DocumentUpgrade         *o11y.Outcome
	DocumentUpgradeDuration time.Duration
}

type ToolExtractorTask

type ToolExtractorTask struct {
	Parser string

	ProjectID    uuid.UUID
	DeploymentID uuid.UUID
	DocumentID   uuid.UUID
	DocInfo      *types.OpenAPIv3DeploymentAsset
	DocURL       *url.URL
	ProjectSlug  string
	OrgSlug      string

	OnOperationSkipped func(err error)
}

Jump to

Keyboard shortcuts

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