Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for openapi_schema (0.36 sec)

  1. tests/test_extra_routes.py

    
    def test_trace():
        response = client.request("trace", "/items/foo")
        assert response.status_code == 200, response.text
        assert response.headers["content-type"] == "message/http"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.7K bytes
    - Viewed (0)
Back to top