parse 'out' for internal config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Adrien Marquès 2020-03-29 14:18:38 +02:00
parent ca2be1415d
commit 974f58fb8e
Signed by: xdrm-brackets
GPG Key ID: D75243CA236D825E
1 changed files with 6 additions and 6 deletions

View File

@ -22,12 +22,12 @@ type Server struct {
// Service represents a service definition (from api.json)
type Service struct {
Method string `json:"method"`
Pattern string `json:"path"`
Scope [][]string `json:"scope"`
Description string `json:"info"`
Input map[string]*Parameter `json:"in"`
Output map[string]interface{} `json:"out"`
Method string `json:"method"`
Pattern string `json:"path"`
Scope [][]string `json:"scope"`
Description string `json:"info"`
Input map[string]*Parameter `json:"in"`
Output map[string]*Parameter `json:"out"`
// references to url parameters
// format: '/uri/{param}'