Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 831 for openat (0.13 sec)

  1. docs/en/docs/tutorial/metadata.md

    ## OpenAPI URL
    
    By default, the OpenAPI schema is served at `/openapi.json`.
    
    But you can configure it with the parameter `openapi_url`.
    
    For example, to set it to be served at `/api/v1/openapi.json`:
    
    ```Python hl_lines="3"
    {!../../../docs_src/metadata/tutorial002.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 31 23:52:53 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/definitions.go

    import (
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/endpoints/openapi"
    	"k8s.io/kube-openapi/pkg/common"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // DefinitionsSchemaResolver resolves the schema of a built-in type
    // by looking up the OpenAPI definitions.
    type DefinitionsSchemaResolver struct {
    	defs     map[string]common.OpenAPIDefinition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 17:23:50 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. cmd/config-versions.go

    	Notify notify.Config `json:"notify"`
    
    	// Logger configuration
    	Logger logger.Config `json:"logger"`
    
    	// Compression configuration
    	Compression compress.Config `json:"compress"`
    
    	// OpenID configuration
    	OpenID openid.Config `json:"openid"`
    
    	// External policy enforcements.
    	Policy struct {
    		// OPA configuration.
    		OPA opa.Args `json:"opa"`
    
    		// Add new external policy enforcements here.
    	} `json:"policy"`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go

    // (i.e. typically in TestMain), and must not be used with
    // golang.org/x/telemetry/counter.Open.
    func Open(telemetryDir string) {
    	openedMu.Lock()
    	defer openedMu.Unlock()
    	if opened {
    		panic("Open was called more than once")
    	}
    	telemetry.Default = telemetry.NewDir(telemetryDir)
    
    	counter.Open()
    	opened = true
    }
    
    // ReadCounter reads the given counter.
    func ReadCounter(c *counter.Counter) (count uint64, _ error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/resolver/resolver.go

    import (
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // SchemaResolver finds the OpenAPI schema for the given GroupVersionKind.
    // This interface uses the type defined by k8s.io/kube-openapi
    type SchemaResolver interface {
    	// ResolveSchema takes a GroupVersionKind (GVK) and returns the OpenAPI schema
    	// identified by the GVK.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:54 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/path-operation-advanced-configuration.md

    # 路径操作的高级配置
    
    ## OpenAPI 的 operationId
    
    !!! warning
        如果你并非 OpenAPI 的「专家」,你可能不需要这部分内容。
    
    你可以在路径操作中通过参数 `operation_id` 设置要使用的 OpenAPI `operationId`。
    
    务必确保每个操作路径的 `operation_id` 都是唯一的。
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### 使用 *路径操作函数* 的函数名作为 operationId
    
    如果你想用你的 API 的函数名作为 `operationId` 的名字,你可以遍历一遍 API 的函数名,然后使用他们的 `APIRoute.name` 重写每个 *路径操作* 的 `operation_id`。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Nov 25 17:11:59 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/openapi/proto.go

    limitations under the License.
    */
    
    package openapi
    
    import (
    	"encoding/json"
    
    	openapi_v2 "github.com/google/gnostic-models/openapiv2"
    
    	"k8s.io/kube-openapi/pkg/util/proto"
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    // ToProtoModels builds the proto formatted models from OpenAPI spec
    func ToProtoModels(openAPISpec *spec.Swagger) (proto.Models, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/cli-runtime/pkg/resource/fallback_query_param_verifier.go

    	err := f.primary.HasSupport(gvk)
    	// If an error was returned from the primary OpenAPI endpoint,
    	// we fallback to check the secondary OpenAPI endpoint for
    	// any error *except* "paramUnsupportedError".
    	if err != nil && !IsParamUnsupportedError(err) {
    		klog.V(7).Infof("openapi v3 error...falling back to legacy: %s", err)
    		err = f.secondary.HasSupport(gvk)
    	}
    	return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 19:13:54 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/additional-responses.md

    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    ## More information about OpenAPI responses
    
    To see what exactly you can include in the responses, you can check these sections in the OpenAPI specification:
    
    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responsesObject" class="external-link" target="_blank">OpenAPI Responses Object</a>, it includes the `Response Object`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/additional-responses.md

    ```
    
    ## Weitere Informationen zu OpenAPI-Responses
    
    Um zu sehen, was genau Sie in die Responses aufnehmen können, können Sie die folgenden Abschnitte in der OpenAPI-Spezifikation überprüfen:
    
    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responsesObject" class="external-link" target="_blank">OpenAPI Responses Object</a>, enthält das `Response Object`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:26 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top