• p0lyn0mial's avatar
    extended RESTMappings method by a version parameter. · 5f8e7745
    p0lyn0mial authored
    RESTMapping method can now rely on RESTMappings by passing versions parameter and taking the first match found by RESTMappings method. In addition
    a UT that test the new method has been added.
    
    The only change in logic to what was before is when calling RESTMapping
    we search all defaultGroupVersion as opposed to just one when no mapping was found for provided versions.
    5f8e7745
restmapper.go 17.3 KB