Improve API

This commit is contained in:
2023-04-02 17:31:37 +03:00
parent bc61b916f9
commit 11a6171954
12 changed files with 260 additions and 25 deletions

View File

@@ -13,7 +13,7 @@ type Handler interface {
// Add new page.
//
// POST /pages
AddPage(ctx context.Context, req OptAddPageReq, params AddPageParams) (*Page, error)
AddPage(ctx context.Context, req OptAddPageReq, params AddPageParams) (AddPageRes, error)
// GetFile implements getFile operation.
//
// Get file content.