parser

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocsParser

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

func NewDocsParser

func NewDocsParser(apiSpec *spec.ApiSpec) *DocsParser

func (*DocsParser) BuildDocsSpecHierarchy

func (dp *DocsParser) BuildDocsSpecHierarchy(groups []string) []*DocsSpec

BuildDocsSpecHierarchy builds the hierarchical structure of DocsSpec based on the group strings.

type DocsSpec

type DocsSpec struct {
	Group     string
	Children  []*DocsSpec
	GroupSpec *spec.Group
}

DocsSpec represents the hierarchical structure of the documentation.

Jump to

Keyboard shortcuts

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