data_model

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Index added in v1.1.0

func Index(c *gin.Context)

Index go docs @Summary List all DataModel @Description List all `DataModel`s @Tags DataModel @Accept json @Produce json @Security ApiKeyAuth @Success 200 {object} dto.PaginationResult @Success 200 {object} dto.PaginationResult{results=[]schema.DataModel} @Failure 400 {object} dto.ErrorResponse @Failure 404 {object} dto.ErrorResponse @Failure 500 {object} dto.ErrorResponse @Router /api/v1/data-model [get]

func Publish

func Publish(c *gin.Context)

Publish go docs @Summary Publish a `DataModel` draft, after publish, this DataModel will really take effects on database. @Tags DataModel

func Show added in v1.1.0

func Show(c *gin.Context)

Show go docs @Summary Get a DataModel details @Description Get a DataModel details @Tags DataModel @Accept json @Produce json @Security ApiKeyAuth @Success 200 {object} schema.DataModel @Failure 400 {object} dto.ErrorResponse @Failure 404 {object} dto.ErrorResponse @Failure 500 {object} dto.ErrorResponse @Router /api/v1/data-model/{id} [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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