const subTypeProtobufDeprecated …
const subTypeProtobuf …
const subTypeJSON …
type OpenAPIV3Discovery …
type OpenAPIV3DiscoveryGroupVersion …
func ToV3ProtoBinary(json []byte) ([]byte, error) { … }
type timedSpec …
type openAPIV3Group …
func newOpenAPIV3Group() *openAPIV3Group { … }
func (o *openAPIV3Group) UpdateSpec(openapi cached.Value[*spec3.OpenAPI]) { … }
type OpenAPIService …
func computeETag(data []byte) string { … }
func constructServerRelativeURL(gvString, etag string) string { … }
func NewOpenAPIService() *OpenAPIService { … }
func (o *OpenAPIService) buildDiscoveryCacheLocked() cached.Value[timedSpec] { … }
func (o *OpenAPIService) getSingleGroupBytes(getType string, group string) ([]byte, string, time.Time, error) { … }
func (o *OpenAPIService) UpdateGroupVersionLazy(group string, openapi cached.Value[*spec3.OpenAPI]) { … }
func (o *OpenAPIService) UpdateGroupVersion(group string, openapi *spec3.OpenAPI) { … }
func (o *OpenAPIService) DeleteGroupVersion(group string) { … }
func (o *OpenAPIService) HandleDiscovery(w http.ResponseWriter, r *http.Request) { … }
func (o *OpenAPIService) HandleGroupVersion(w http.ResponseWriter, r *http.Request) { … }
func (o *OpenAPIService) RegisterOpenAPIV3VersionedService(servePath string, handler common.PathHandlerByGroupVersion) error { … }