I don't have a full example, but I ran into a situation where I was getting an error
2017/05/26 18:14:11 Can not find definition of x model. Name looks like absolute, but model not found in github/com/.../models package
And I noticed the 'github/com' where it should be 'github.com', and I think this might be a result of the split on periods here:
|
modelNameParts := strings.Split(modelName, ".") |
and then its later rejoined with slashes here:
|
absolutePackageName := strings.Join(modelNameParts[:len(modelNameParts)-1], "/") |
Let me know if you need and example to demonstrate and reproduce
I don't have a full example, but I ran into a situation where I was getting an error
And I noticed the 'github/com' where it should be 'github.com', and I think this might be a result of the split on periods here:
swagger/parser/parser.go
Line 396 in b4c403f
swagger/parser/parser.go
Line 406 in b4c403f
Let me know if you need and example to demonstrate and reproduce