Working swagger api docs

This commit is contained in:
2024-12-03 22:06:57 +01:00
parent e413e955c5
commit dc8fc6c225
8 changed files with 4863 additions and 8 deletions

View File

@@ -14,8 +14,8 @@ type DeleteWorkspaceResponse struct {
NextWorkspaceName string `json:"nextWorkspaceName"`
}
// GetLastWorkspaceNameResponse contains the name of the last opened workspace
type GetLastWorkspaceNameResponse struct {
// LastWorkspaceNameResponse contains the name of the last opened workspace
type LastWorkspaceNameResponse struct {
LastWorkspaceName string `json:"lastWorkspaceName"`
}
@@ -325,7 +325,7 @@ func (h *Handler) GetLastWorkspaceName() http.HandlerFunc {
return
}
respondJSON(w, &GetLastWorkspaceNameResponse{LastWorkspaceName: workspaceName})
respondJSON(w, &LastWorkspaceNameResponse{LastWorkspaceName: workspaceName})
}
}