• Kubernetes Submit Queue's avatar
    Merge pull request #51223 from apelisse/openapi-reference-first-class · 74f4fda7
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 51148, 50816, 49741, 50858, 51223)
    
    openapi: Change references to be first-class
    
    **What this PR does / why we need it**:
    References in the openapi are currently completely hidden from the
    model, and just passed through as we walk the tree. The problem is that
    they can have a different description and more importantly, different
    extensions.
    
    Change them to be first-class citizen, and fully part of the model. It
    means that visitors have to implement one more function and decide if
    something specific should be done with references. Validation is updated
    to just completely ignore them and passthrough (like it was done
    before).
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    ```release-note
    NONE
    ```
    74f4fda7
Name
Last commit
Last update
..
editor Loading commit data...
jsonmerge Loading commit data...
openapi Loading commit data...
sanity Loading commit data...
BUILD Loading commit data...
cached_discovery.go Loading commit data...
cached_discovery_test.go Loading commit data...
clientcache.go Loading commit data...
factory.go Loading commit data...
factory_builder.go Loading commit data...
factory_client_access.go Loading commit data...
factory_object_mapping.go Loading commit data...
factory_object_mapping_test.go Loading commit data...
factory_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
printing.go Loading commit data...
shortcut_restmapper.go Loading commit data...
shortcut_restmapper_test.go Loading commit data...