Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Chen (0.12 sec)

  1. tests/test_tutorial/test_dataclasses/test_tutorial003.py

                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
        }
    
    
    # TODO: remove when deprecating Pydantic v1
    @needs_pydanticv1
    def test_openapi_schema_pv1():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top