Documentation ¶
Index ¶
- func ConfigureAcronym(key, val string)
- func ForEachMapSorted[V any](m map[string]V, f func(k string, v any) error) error
- func Header(packageName, version string) []byte
- func RenderDoc(doc string) string
- func RenderReference(referencePath string) string
- func ToCamel(s string) string
- func ToLowerCamel(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAcronym ¶
func ConfigureAcronym(key, val string)
ConfigureAcronym allows you to add additional words which will be considered acronyms
func ForEachMapSorted ¶
ForEachMapSorted iterate over a map[string]<T> sorted by keys.
func RenderReference ¶
RenderReference renders OpenAPI reference from path to go style.
func ToLowerCamel ¶
ToLowerCamel converts a string to lowerCamelCase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.