Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProject ¶
@Summary Create and run a new project @Description Create and run a new project @Tags framework/projects @Accept application/json @Param projectName path string true "project name" @Success 200 {object} models.ApiOutputProject @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internal Error" @Router /projects/:projectName [get]
func GetProjects ¶
@Summary Get list of projects @Description GET /projects?page=1&pageSize=10 @Tags framework/projects @Param page query int true "query" @Param pageSize query int true "query" @Success 200 {object} PaginatedProjects @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internel Error" @Router /projects [get]
func PatchProject ¶
@Summary Patch a project @Description Patch a project @Tags framework/projects @Accept application/json @Param project body models.ApiInputProject true "json" @Success 200 {object} models.ApiOutputProject @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internal Error" @Router /projects/:projectName [patch]
func PostProject ¶
@Summary Create a new project @Description Create a new project @Tags framework/projects @Accept application/json @Param project body models.ApiInputProject true "json" @Success 200 {object} models.ApiOutputProject @Failure 400 {string} errcode.Error "Bad Request" @Failure 500 {string} errcode.Error "Internal Error" @Router /projects [post]