PathFiles returns the service path files.
(data *httpcodegen.ServicesData)
| 9 | |
| 10 | // PathFiles returns the service path files. |
| 11 | func PathFiles(data *httpcodegen.ServicesData) []*codegen.File { |
| 12 | res := httpcodegen.PathFiles(data) |
| 13 | for _, f := range res { |
| 14 | updateHeader(f) |
| 15 | f.Path = strings.Replace(f.Path, "/http/", "/jsonrpc/", 1) |
| 16 | } |
| 17 | return res |
| 18 | } |
nothing calls this directly
no test coverage detected