Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 1,998 for Detail (0.06 seconds)

  1. tests/test_pydantic_v1_error.py

            def endpoint():  # pragma: no cover
                return {"name": "test"}
    
    
    def test_raises_pydantic_v1_model_in_additional_responses_model() -> None:
        class ErrorModelV1(BaseModel):
            detail: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.get(
                "/responses", response_model=None, responses={400: {"model": ErrorModelV1}}
            )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

            "token": "secrettoken",
        }
    
    
    def test_get_me_no_credentials(client: TestClient):
        response = client.get("/me")
        assert response.status_code == 403
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. tests/test_security_http_base_description.py

    
    def test_security_http_base_no_credentials():
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Other"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. tests/test_filter_pydantic_sub_model_pv2.py

                            "title": "HTTPValidationError",
                            "type": "object",
                            "properties": {
                                "detail": {
                                    "title": "Detail",
                                    "type": "array",
                                    "items": {
                                        "$ref": "#/components/schemas/ValidationError"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java

    /**
     * Signals a failure to build because no goal was specified.
     *
     */
    public class NoGoalSpecifiedException extends Exception {
    
        /**
         * Creates a new exception.
         *
         * @param message The detail message, may be {@code null}.
         */
        public NoGoalSpecifiedException(String message) {
            super(message);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  6. tests/test_security_api_key_query.py

        assert response.json() == {"username": "secret"}
    
    
    def test_security_api_key_no_key():
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "APIKey"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/events.md

    Because of that, it's now recommended to instead use the `lifespan` as explained above.
    
    ## Technical Details { #technical-details }
    
    Just a technical detail for the curious nerds. 🤓
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/request-form-models.md

    * `username`: `Rick`
    * `password`: `Portal Gun`
    * `extra`: `Mr. Poopybutthole`
    
    Він отримає відповідь із помилкою, яка повідомляє, що поле `extra` не дозволено:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["body", "extra"],
                "msg": "Extra inputs are not permitted",
                "input": "Mr. Poopybutthole"
            }
        ]
    }
    ```
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Feb 20 14:16:09 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/header-param-models.md

    Наприклад, якщо клієнт спробує надіслати заголовок `tool` зі значенням `plumbus`, він отримає  **помилку** з повідомленням про те, що параметр заголовка `tool` не дозволений:
    
    ```json
    {
        "detail": [
            {
                "type": "extra_forbidden",
                "loc": ["header", "tool"],
                "msg": "Extra inputs are not permitted",
                "input": "plumbus",
            }
        ]
    }
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Mar 19 17:03:13 GMT 2025
    - 3K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/additional-responses.md

                },
                "HTTPValidationError": {
                    "title": "HTTPValidationError",
                    "type": "object",
                    "properties": {
                        "detail": {
                            "title": "Detail",
                            "type": "array",
                            "items": {
                                "$ref": "#/components/schemas/ValidationError"
                            }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top