(expander *js.Expander)
| 79 | } |
| 80 | |
| 81 | func WithExpander(expander *js.Expander) Option { |
| 82 | return func(t *ToolSet) { t.expander = expander } |
| 83 | } |
| 84 | |
| 85 | // New creates a new OpenAPI toolset from the given spec URL. |
| 86 | func New(specURL string, headers map[string]string, opts ...Option) *ToolSet { |
no outgoing calls