Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for badRequest (0.54 sec)

  1. src/main/config/openapi/openapi-user.yaml

            '400':
              $ref: '#/components/responses/BadRequest'
            '401':
              $ref: '#/components/responses/Unauthorized'
            '404':
              $ref: '#/components/responses/NotFound'
            '500':
              $ref: '#/components/responses/InternalServerError'
    
    components:
      responses:
        BadRequest:
          description: Bad request
          content:
            application/json:
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. api/openapi-spec/swagger.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/fieldselector_test.go

    				if err == nil {
    					w.Stop()
    					t.Fatal("Expected error but got none")
    				}
    				if !apierrors.IsBadRequest(err) {
    					t.Errorf("Expected BadRequest but got %v", err)
    				}
    			})
    		}
    	})
    
    	for _, instance := range []string{shirtInstance1, shirtInstance2, shirtInstance3} {
    		shirt := &unstructured.Unstructured{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:53:03 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. cmd/handler-utils.go

    			Code:           "XMinioAdminVersionMismatch",
    			Description:    desc,
    			HTTPStatusCode: http.StatusUpgradeRequired,
    		}, r.URL)
    	default:
    		writeErrorResponse(r.Context(), w, APIError{
    			Code: "BadRequest",
    			Description: fmt.Sprintf("An error occurred when parsing the HTTP request %s at '%s'",
    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	actual := &testPatchType{}
    	err := strategicPatchObject(context.TODO(), defaulter, original, []byte(patch), actual, &testPatchType{}, "")
    	if !apierrors.IsBadRequest(err) {
    		t.Errorf("expected HTTP status: BadRequest, got: %#v", apierrors.ReasonForError(err))
    	}
    	if !strings.Contains(err.Error(), expectedError) {
    		t.Errorf("expected %#v, got %#v", expectedError, err.Error())
    	}
    }
    
    func TestJSONPatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/storage/eviction_test.go

    			eviction:     &policy.Eviction{ObjectMeta: metav1.ObjectMeta{Name: "t7", Namespace: "default"}, DeleteOptions: metav1.NewDeleteOptions(0)},
    			expectError:  "name in URL does not match name in Eviction object: BadRequest",
    			podName:      "t7",
    		},
    		{
    			name: "matching pdbs with no disruptions allowed, pod running, empty selector",
    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Code:           "InvalidPrefixMarker",
    		Description:    "Invalid marker prefix combination",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBadRequest: {
    		Code:           "BadRequest",
    		Description:    "400 BadRequest",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrKeyTooLongError: {
    		Code:           "KeyTooLongError",
    		Description:    "Your key is too long",
    		HTTPStatusCode: http.StatusBadRequest,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/api__v1_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__apps__v1_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 810.7K bytes
    - Viewed (0)
Back to top