mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Working swagger api docs
This commit is contained in:
@@ -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})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user