diff --git a/datamodel/document_config.go b/datamodel/document_config.go index c823bb9..7b173b7 100644 --- a/datamodel/document_config.go +++ b/datamodel/document_config.go @@ -20,6 +20,7 @@ type DocumentConfiguration struct { // RemoteURLHandler is a function that will be used to retrieve remote documents. If not set, the default // remote document getter will be used. + // Resolves [#132]: https://github.com/pb33f/libopenapi/issues/132 RemoteURLHandler func(url string) (*http.Response, error) // If resolving locally, the BasePath will be the root from which relative references will be resolved from. diff --git a/index/index_model.go b/index/index_model.go index cfc9712..d63d27b 100644 --- a/index/index_model.go +++ b/index/index_model.go @@ -63,6 +63,7 @@ type SpecIndexConfig struct { // If resolving remotely, the RemoteURLHandler will be used to fetch the remote document. // 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) // If resolving locally, the BasePath will be the root from which relative references will be resolved from