parse 'out' for internal config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ca2be1415d
commit
974f58fb8e
|
@ -22,12 +22,12 @@ type Server struct {
|
||||||
|
|
||||||
// Service represents a service definition (from api.json)
|
// Service represents a service definition (from api.json)
|
||||||
type Service struct {
|
type Service struct {
|
||||||
Method string `json:"method"`
|
Method string `json:"method"`
|
||||||
Pattern string `json:"path"`
|
Pattern string `json:"path"`
|
||||||
Scope [][]string `json:"scope"`
|
Scope [][]string `json:"scope"`
|
||||||
Description string `json:"info"`
|
Description string `json:"info"`
|
||||||
Input map[string]*Parameter `json:"in"`
|
Input map[string]*Parameter `json:"in"`
|
||||||
Output map[string]interface{} `json:"out"`
|
Output map[string]*Parameter `json:"out"`
|
||||||
|
|
||||||
// references to url parameters
|
// references to url parameters
|
||||||
// format: '/uri/{param}'
|
// format: '/uri/{param}'
|
||||||
|
|
Loading…
Reference in New Issue