Skip to content

Commit

Permalink
Merge branch 'master' into go-native-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Jun 2, 2019
2 parents 09ff2cb + 379328b commit 68d19fb
Show file tree
Hide file tree
Showing 106 changed files with 10,903 additions and 366 deletions.
2 changes: 1 addition & 1 deletion apidef/api_definitions.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ type URLRewriteMeta struct {
MatchPattern string `bson:"match_pattern" json:"match_pattern"`
RewriteTo string `bson:"rewrite_to" json:"rewrite_to"`
Triggers []RoutingTrigger `bson:"triggers" json:"triggers"`
MatchRegexp *regexp.Regexp
MatchRegexp *regexp.Regexp `json:"-"`
}

type VirtualMeta struct {
Expand Down
2 changes: 2 additions & 0 deletions apidef/importer/importer.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ func GetImporterForSource(source APIImporterSource) (APIImporter, error) {
return &BluePrintAST{}, nil
case SwaggerSource:
return &SwaggerAST{}, nil
case WSDLSource:
return &WSDLDef{}, nil
default:
return nil, errors.New("source not matched, failing")
}
Expand Down
Loading

0 comments on commit 68d19fb

Please sign in to comment.