APIPrefixessets.String// without leading and trailing slashes
APIPrefixessets.String// without leading and trailing slashes
GrouplessAPIPrefixessets.String// without leading and trailing slashes
GrouplessAPIPrefixessets.String// without leading and trailing slashes
}
}
// TODO write an integration test against the swagger doc to test the RequestInfo and match up behavior to responses
// TODO write an integration test against the swagger doc to test the RequestInfo and match up behavior to responses
// GetRequestInfo returns the information from the http request. If error is not nil, RequestInfo holds the information as best it is known before the failure
// NewRequestInfo returns the information from the http request. If error is not nil, RequestInfo holds the information as best it is known before the failure
// It handles both resource and non-resource requests and fills in all the pertinent information for each.
// It handles both resource and non-resource requests and fills in all the pertinent information for each.
// Valid Inputs:
// Valid Inputs:
// Resource paths
// Resource paths
...
@@ -103,7 +103,7 @@ type RequestInfoResolver struct {
...
@@ -103,7 +103,7 @@ type RequestInfoResolver struct {