mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
add issue link
This commit is contained in:
@@ -20,6 +20,7 @@ type DocumentConfiguration struct {
|
|||||||
|
|
||||||
// RemoteURLHandler is a function that will be used to retrieve remote documents. If not set, the default
|
// RemoteURLHandler is a function that will be used to retrieve remote documents. If not set, the default
|
||||||
// remote document getter will be used.
|
// remote document getter will be used.
|
||||||
|
// Resolves [#132]: https://github.com/pb33f/libopenapi/issues/132
|
||||||
RemoteURLHandler func(url string) (*http.Response, error)
|
RemoteURLHandler func(url string) (*http.Response, error)
|
||||||
|
|
||||||
// If resolving locally, the BasePath will be the root from which relative references will be resolved from.
|
// If resolving locally, the BasePath will be the root from which relative references will be resolved from.
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ type SpecIndexConfig struct {
|
|||||||
|
|
||||||
// If resolving remotely, the RemoteURLHandler will be used to fetch the remote document.
|
// If resolving remotely, the RemoteURLHandler will be used to fetch the remote document.
|
||||||
// If not set, the default http client will be used.
|
// If not set, the default http client will be used.
|
||||||
|
// Resolves [#132]: https://github.com/pb33f/libopenapi/issues/132
|
||||||
RemoteURLHandler func(url string) (*http.Response, error)
|
RemoteURLHandler func(url string) (*http.Response, error)
|
||||||
|
|
||||||
// If resolving locally, the BasePath will be the root from which relative references will be resolved from
|
// If resolving locally, the BasePath will be the root from which relative references will be resolved from
|
||||||
|
|||||||
Reference in New Issue
Block a user