Documentation ¶
Overview ¶
package swagdef provides methods to operate json data and swag definition
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModelFieldsSchemaToSwagDef ¶
func ModelFieldsSchemaToSwagDef(fields []modelcollections.ModelFieldSchema, withPrefixs ...string) (*spec.Definitions, error)
ModelFieldsSchemaToSwagDef converts from dot-notation json structure into swag.Definitions
func RawJsonMessageToSwagDef ¶
func RawJsonMessageToSwagDef(rawJson []byte) (*spec.Definitions, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.