Skip to content

Commit

Permalink
api: add request / response types and rename some fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jzelinskie committed Feb 24, 2016
1 parent 2f57f0d commit be9423b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion api/v1/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,23 @@
package v1

type ErrorResponse struct {
Error Error
}

type Error struct {
Error string
Type string
}

type LayerRequest struct {
Layer Layer
}

type Layer struct {
Name string
Path string
Parent string
ParentName string
Format string
IndexedByVersion int
Features []Feature
}
Expand Down

0 comments on commit be9423b

Please sign in to comment.