Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for contentMediaType (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_request_params/test_file/test_optional_list.py

                    "anyOf": [
                        {
                            "type": "array",
                            "items": {
                                "type": "string",
                                "contentMediaType": "application/octet-stream",
                            },
                        },
                        {"type": "null"},
                    ],
                    "title": "P",
                }
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. tests/test_request_params/test_file/test_optional.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [
                        {"type": "string", "contentMediaType": "application/octet-stream"},
                        {"type": "null"},
                    ],
                    "title": "P",
                }
            },
            "title": body_model_name,
            "type": "object",
        }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  3. tests/test_request_params/test_file/test_list.py

            "properties": {
                "p": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "contentMediaType": "application/octet-stream",
                    },
                    "title": "P",
                },
            },
            "required": ["p"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. fastapi/_compat/v2.py

        # and dropping support for any version of Pydantic before that one (so, in a very long time)
        def bytes_schema(self, schema: CoreSchema) -> JsonSchemaValue:
            json_schema = {"type": "string", "contentMediaType": "application/octet-stream"}
            bytes_mode = (
                self._config.ser_json_bytes
                if self.mode == "serialization"
                else self._config.val_json_bytes
            )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  5. fastapi/openapi/models.py

        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: str | None = None
        contentMediaType: str | None = None
        contentSchema: Optional["SchemaOrBool"] = None
        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-basic-meta
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top