Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for field_mapping (0.07 sec)

  1. fastapi/openapi/utils.py

                param_schema = get_schema_from_model_field(
                    field=param,
                    schema_generator=schema_generator,
                    model_name_map=model_name_map,
                    field_mapping=field_mapping,
                    separate_input_output_schemas=separate_input_output_schemas,
                )
                parameter = {
                    "name": param.alias,
                    "in": param_type.value,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. fastapi/_compat.py

            inputs = [
                (field, override_mode or field.mode, field._type_adapter.core_schema)
                for field in fields
            ]
            field_mapping, definitions = schema_generator.generate_definitions(
                inputs=inputs
            )
            return field_mapping, definitions  # type: ignore[return-value]
    
        def is_scalar_field(field: ModelField) -> bool:
            from fastapi import params
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:36:32 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top