Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for oneOf (0.01 seconds)

  1. tests/test_union_body_discriminator.py

                                "required": True,
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "oneOf": [
                                                {"$ref": "#/components/schemas/FirstItem"},
                                                {"$ref": "#/components/schemas/OtherItem"},
                                            ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. tests/test_union_body_discriminator_annotated.py

                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "oneOf": [
                                                {"$ref": "#/components/schemas/Cat"},
                                                {"$ref": "#/components/schemas/Dog"},
                                            ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.7K bytes
    - Click Count (0)
Back to Top