Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sub_description (0.07 sec)

  1. tests/test_openapi_separate_input_output_schemas.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel, computed_field
    
    
    class SubItem(BaseModel):
        subname: str
        sub_description: Optional[str] = None
        tags: list[str] = []
        model_config = {"json_schema_serialization_defaults_required": True}
    
    
    class Item(BaseModel):
        name: str
        description: Optional[str] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top