package
1.18.9
Repository: https://github.com/grokify/spectrum.git
Documentation: pkg.go.dev

# README

From Spring

This package provides some code useful for converting Spring Java code to OpenAPI 3.0. At this moment it only converts Spring model classes to OpenAPI 3.0 schema objects.

# Functions

ParseSpringCodeColumnsRaw takes a set of Java code lines and groups them into lines per property.
ParseSpringLinesToMapStringSchemaRefs parses a Spring Java code line and attempts to extract a property name, type, format and default value.
ParseSpringLineToSchema parses a Spring Java code line and attempts to extract a property name, type, format and default value.
ParseSpringLineToSchemaRef parses a Spring Java code line and attempts to extract a property name, type, format and default value.
ParseSpringPropertyLinesSliceToSchema takes a set of string slices and attempts to parse one property per set of lines.
ParseSpringPropertyLinesToSchema parses a set of lines looking for a property line.

# Constants

No description provided by the author
TypeArray = openapi3.TypeArray TypeBoolean = openapi3.TypeBoolean TypeInteger = openapi3.TypeInteger TypeObject = openapi3.TypeObject TypeString = openapi3.TypeString*/.
No description provided by the author