GetRenderConfig godoc @Summary GetRenderConfig @Description GetRenderConfig @Tags PluginRender @Accept json @Produce json @Router /answer/api/v1/render/config [get] @Success 200 {object} handler.RespBody{data=plugin.RenderConfig}
(ctx *gin.Context)
| 41 | // @Router /answer/api/v1/render/config [get] |
| 42 | // @Success 200 {object} handler.RespBody{data=plugin.RenderConfig} |
| 43 | func (c *RenderController) GetRenderConfig(ctx *gin.Context) { |
| 44 | var resp *plugin.RenderConfig |
| 45 | |
| 46 | _ = plugin.CallRender(func(render plugin.Render) (err error) { |
| 47 | resp = render.GetRenderConfig(ctx) |
| 48 | return nil |
| 49 | }) |
| 50 | |
| 51 | handler.HandleResponse(ctx, nil, resp) |
| 52 | } |
nothing calls this directly
no test coverage detected