From 974f58fb8e83539b3a3c4a67d6a53d7076a062eb Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 29 Mar 2020 14:18:38 +0200 Subject: [PATCH] parse 'out' for internal config --- internal/config/types.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/config/types.go b/internal/config/types.go index 783959a..f3532a4 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -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}'