Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Index ¶ added in v1.1.0
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 ¶
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
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.