openapi

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com>

SPDX-License-Identifier: BSD-3-Clause

SPDX-FileCopyrightText: 2026 Outscale SAS <opensource@outscale.com>

SPDX-License-Identifier: BSD-3-Clause

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Enum

type Enum interface {
	Values() []string
}

type Spec

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

func NewSpec

func NewSpec(spec *openapi3.T) *Spec

func (*Spec) SummaryForAttribute

func (s *Spec) SummaryForAttribute(typeName, attribute string) (description string, required bool)

func (*Spec) SummaryForOperation

func (s *Spec) SummaryForOperation(name string) (short, help, group string, deprecated bool)

Jump to

Keyboard shortcuts

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