openapi

package
v0.0.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package openapi marks runtime.RawExtension as preserve-unknown-fields in the served OpenAPI, so clients doing strict structural validation accept arbitrary payloads in fields typed as RawExtension. openapi-gen doesn't emit that extension itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenAPIDefinitions

func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition

GetOpenAPIDefinitions returns the generated definitions with x-kubernetes-preserve-unknown-fields: true added to runtime.RawExtension.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL