ui

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

templ: version: v0.3.924

templ: version: v0.3.924

templ: version: v0.3.924

templ: version: v0.3.924

templ: version: v0.3.924

templ: version: v0.3.924

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aside

func Aside() templ.Component

func BaseLayout

func BaseLayout(title string, c config.Config, rel string, httpMode bool) templ.Component

func Cutoff

func Cutoff(text string, maxLen int) string

func Details

func Details(text string) templ.Component

func DetailsAdvanced

func DetailsAdvanced(summary templ.Component) templ.Component

func DetailsAdvancedResponses added in v0.4.0

func DetailsAdvancedResponses(summary templ.Component) templ.Component

Same as DetailsAdvanced, but with the carrot on the left side.

func DetailsAdvancedReversed added in v0.4.0

func DetailsAdvancedReversed(summary templ.Component) templ.Component

Same as DetailsAdvanced, but with the carrot on the left side.

func Heading3Link(href string) templ.Component
func HeadingLink(href string) templ.Component

func HtmlDescription

func HtmlDescription(html string) templ.Component

func MethodTag

func MethodTag(method string) templ.Component

func OpenAPI

func OpenAPI(c config.Config, o openapi.OpenAPI, httpMode bool) templ.Component

func OperationDocs

func OperationDocs(method, url string, op *openapi.Operation) templ.Component
func PageLink(link string, httpMode bool) string

func ParameterDocs

func ParameterDocs(name string, p openapi.Parameter) templ.Component
func ParameterLink(name, text string) templ.Component
func PathLink(method, url string, op *openapi.Operation) templ.Component

func ResponseDocs

func ResponseDocs(name string, r openapi.Response) templ.Component
func ResponseLink(name, text string) templ.Component

func SchemaDocs

func SchemaDocs(s openapi.Schema) templ.Component

Top level schema documentation

func SchemaLink(name, text string) templ.Component

func SchemaPretty

func SchemaPretty(s openapi.Schema) templ.Component

func SchemaPropertySummary added in v0.4.0

func SchemaPropertySummary(name string, s openapi.Schema, required bool) templ.Component

func SchemaRaw

func SchemaRaw(s openapi.Schema) templ.Component

func SchemaType

func SchemaType(s openapi.Schema) templ.Component

func SecuritySchemeDoc

func SecuritySchemeDoc(name string, s openapi.Security) templ.Component
func SideBar(o openapi.OpenAPI) templ.Component

func Table

func Table() templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

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