- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,775 for gson (0.16 sec)
-
cmd/tier-handlers.go
// You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "encoding/json" "io" "net/http" "strconv" jsoniter "github.com/json-iterator/go" "github.com/minio/madmin-go/v3" "github.com/minio/minio/internal/config/storageclass" "github.com/minio/mux" "github.com/minio/pkg/v3/policy" ) var (
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Sep 12 20:44:05 UTC 2024 - 7.5K bytes - Viewed (0) -
tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py
client.headers.clear() return client def test_get(client: TestClient): response = client.post( "/invoices/", json={"id": "fooinvoice", "customer": "John", "total": 5.3} ) assert response.status_code == 200, response.text assert response.json() == {"msg": "Invoice received"} def test_dummy_callback(mod: ModuleType): # Just for coverage mod.invoice_notification({})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_03.py
assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/teleport": { "get": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.1K bytes - Viewed (0) -
cmd/admin-handlers.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
try (InputStream is = getClass().getClassLoader().getResourceAsStream("suggest_indices/suggest.json")) { assertNotNull("Settings resource should exist", is); final String settings = new String(is.readAllBytes(), StandardCharsets.UTF_8); // Verify it's a valid JSON structure assertTrue("Settings should be JSON", settings.trim().startsWith("{")); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial002.py
assert response.status_code == 200, response.text assert response.json() == snapshot( {"age": 30, "id": IsInt(), "name": "Dead Pond"} ) assert response.json()["id"] != 9000, ( "The ID should be generated by the database" ) # Read a hero hero_id = response.json()["id"] response = client.get(f"/heroes/{hero_id}")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 17.9K bytes - Viewed (0) -
tests/test_response_model_as_return_annotation.py
assert response.status_code == 200, response.text assert response.json() == {"name": "John", "surname": "Doe"} def test_no_response_model_no_annotation_return_dict(): response = client.get("/no_response_model-no_annotation-return_dict") assert response.status_code == 200, response.text assert response.json() == {"name": "John", "surname": "Doe"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 47.7K bytes - Viewed (0) -
docs/de/docs/tutorial/body-nested-models.md
Es wird getestet, ob der String eine gültige URL ist, und als solche wird er in JSON Schema / OpenAPI dokumentiert. ## Attribute mit Listen von Kindmodellen { #attributes-with-lists-of-submodels } Sie können Pydantic-Modelle auch als Typen innerhalb von `list`, `set`, usw. verwenden: {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *} Das wird einen JSON-Body erwarten (konvertieren, validieren, dokumentieren, usw.) wie:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/body-multiple-params.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 11:10:17 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/test_request_params/test_body/test_optional_str.py
client = TestClient(app) response = client.post(path, json={}) assert response.status_code == 200, response.text assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str(path: str): client = TestClient(app) response = client.post(path, json={"p": "hello"}) assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 11.6K bytes - Viewed (0)