This repository has been archived by the owner on May 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor show and Implement List API
This patch will refactor the show api to return the pip-env map of the id provided inspite of assuming one in a space and always return the first Also implement list api to return all the pip-env maps in a space. Implement tests for list api Fixes #142 Fixes openshiftio/openshift.io#4638
- Loading branch information
1 parent
0387db0
commit 36b9c82
Showing
6 changed files
with
162 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package design | ||
|
||
import ( | ||
d "github.com/goadesign/goa/design" | ||
a "github.com/goadesign/goa/design/apidsl" | ||
) | ||
|
||
var pagingLinks = a.Type("pagingLinks", func() { | ||
a.Attribute("prev", d.String) | ||
a.Attribute("next", d.String) | ||
a.Attribute("first", d.String) | ||
a.Attribute("last", d.String) | ||
a.Attribute("filters", d.String) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters