Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 525 for validation (0.05 seconds)

  1. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. tests/test_starlette_exception.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 7.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/path-params.md

    So, with that type declaration, **FastAPI** gives you automatic request <abbr title="converting the string that comes from an HTTP request into Python data">"parsing"</abbr>.
    
    ///
    
    ## Data validation { #data-validation }
    
    But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a nice HTTP error of:
    
    ```JSON
    {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_handling_errors/test_tutorial004.py

    client = TestClient(app)
    
    
    def test_get_validation_error():
        response = client.get("/items/foo")
        assert response.status_code == 400, response.text
        assert "Validation errors:" in response.text
        assert "Field: ('path', 'item_id')" in response.text
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/handling-errors.md

    You can override these exception handlers with your own.
    
    ### Override request validation exceptions { #override-request-validation-exceptions }
    
    When a request contains invalid data, **FastAPI** internally raises a `RequestValidationError`.
    
    And it also includes a default exception handler for it.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/resources/poms/validation/raw-model/repository-with-expression.xml

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>org.apache.maven.validation</groupId>
        <artifactId>parent</artifactId>
        <version>1</version>
      </parent>
    
      <groupId>org.apache.maven.validation</groupId>
      <artifactId>project</artifactId>
      <version>1.0.0-SNAPSHOT</version>
    
      <properties>
        <x>just/some/path</x>
      </properties>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        private enum ValidationReportLevel {
            NONE, // mute validation completely (validation issue collection still happens, it is just not reported!)
            INLINE, // inline, each "internal" problem one line next to mojo invocation
            SUMMARY, // at end, list of plugin GAVs along with ANY validation issues
            BRIEF, // each "internal" problem one line next to mojo invocation
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        boolean isResolveDependencies();
    
        /**
         * Controls the level of validation to perform on processed models. By default, models are validated in strict mode.
         *
         * @param validationLevel The level of validation to perform on processed models, e.g.
         *            {@link org.apache.maven.model.building.ModelBuildingRequest#VALIDATION_LEVEL_STRICT}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.validation;
    
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    /**
     */
    @Deprecated
    public class ModelValidationResult {
    
        /** */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. tests/test_tuples.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top