WithBasePath overrides the default basePath, provided by the meta section of the spec file.
(basePath string)
| 121 | // WithBasePath overrides the default basePath, |
| 122 | // provided by the meta section of the spec file. |
| 123 | func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig { |
| 124 | cfg.BasePath = basePath |
| 125 | return cfg |
| 126 | } |
| 127 | |
| 128 | // WithSchemes overrides the default schemes, |
| 129 | // provided by the meta section of the spec file. |
no outgoing calls