Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for json_schema_header2 (0.08 seconds)

  1. tests/test_openapi_examples.py

            },
        ),
    ):
        return data
    
    
    @app.get("/header_examples/")
    def header_examples(
        data: str | None = Header(
            default=None,
            examples=[
                "json_schema_header1",
                "json_schema_header2",
            ],
            openapi_examples={
                "Header One": {
                    "summary": "Header One Summary",
                    "description": "Header One Description",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 16.4K bytes
    - Click Count (0)
Back to Top