Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_generate_unique_id_function.py

                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
                }
            },
        }
    
    
    def test_warn_duplicate_operation_id():
        def broken_operation_id(route: APIRoute):
            return "foo"
    
        app = FastAPI(generate_unique_id_function=broken_operation_id)
    
        @app.post("/")
        def post_root(item1: Item):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top