Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for contentEncoding (0.07 seconds)

  1. fastapi/_compat/v2.py

                self._config.ser_json_bytes
                if self.mode == "serialization"
                else self._config.val_json_bytes
            )
            if bytes_mode == "base64":
                json_schema["contentEncoding"] = "base64"
            self.update_with_validations(json_schema, schema, self.ValidationsMapping.bytes)
            return json_schema
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    _Attrs = {
    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)
  2. fastapi/openapi/models.py

        # Ref: JSON Schema Validation 2020-12: https://json-schema.org/draft/2020-12/json-schema-validation.html#name-a-vocabulary-for-the-conten
        # A Vocabulary for the Contents of String-Encoded Data
        contentEncoding: str | None = None
        contentMediaType: str | None = None
        contentSchema: Optional["SchemaOrBool"] = None
    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