- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 100 for AnyOf (0.15 seconds)
-
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
assertToStringWorks(CharMatcher.anyOf(""), "CharMatcher.none()"); assertToStringWorks(CharMatcher.anyOf("1"), "CharMatcher.is('\\u0031')"); assertToStringWorks(CharMatcher.isNot('1'), "CharMatcher.isNot('\\u0031')"); assertToStringWorks(CharMatcher.anyOf("12"), "CharMatcher.anyOf(\"\\u0031\\u0032\")"); assertToStringWorks(CharMatcher.anyOf("321"), "CharMatcher.anyOf(\"\\u0031\\u0032\\u0033\")");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 32.4K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 34.7K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
tests/test_request_params/test_form/test_optional_list.py
openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [ {"items": {"type": "string"}, "type": "array"}, {"type": "null"}, ], "title": "P", }, }, "title": body_model_name,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.9K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial004.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 9.5K bytes - Click Count (0) -
tests/test_openapi_separate_input_output_schemas.py
"description": { "anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description", }, "sub": { "anyOf": [ {"$ref": "#/components/schemas/SubItem-Input"},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/HealthApiTests.java
.body("data.status", anyOf(equalTo("green"), equalTo("yellow"), equalTo("red"))); } @Test public void testHealthCheck_withoutContentType() { given().when() .get("/api/v1/health") .then() .statusCode(200) .body("data", notNullValue()) .body("data.status", anyOf(equalTo("green"), equalTo("yellow"), equalTo("red")));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 2.1K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
{* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *} ## `Union` or `anyOf` { #union-or-anyof } You can declare a response to be the `Union` of two or more types, that means, that the response would be any of them. It will be defined in OpenAPI with `anyOf`. To do that, use the standard Python type hint [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
tests/test_request_params/test_form/test_optional_str.py
openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [{"type": "string"}, {"type": "null"}], "title": "P", }, }, "title": body_model_name, "type": "object", } @pytest.mark.parametrize( "path",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 8.9K bytes - Click Count (0) -
tests/test_request_params/test_file/test_optional.py
openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "anyOf": [ {"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 - 9.8K bytes - Click Count (0)