Last active
February 4, 2020 06:11
-
-
Save ihcsim/8c9f74d7771084da6f8b3c8968621ee9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if err := s.installAPIResources(apiPrefix, apiGroupInfo, openAPIModels); err != nil { | |
| return err | |
| } | |
| // Install the version handler. | |
| // Add a handler at /<apiPrefix> to enumerate the supported api versions. | |
| s.Handler.GoRestfulContainer.Add(discovery.NewLegacyRootAPIHandler(s.discoveryAddresses, s.Serializer, apiPrefix).WebService()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment