- Sort Score
- Num 10 results
- Language All
Results 341 - 350 of 1,922 for djson (0.05 seconds)
-
internal/config/identity/openid/provider/provider.go
ClaimsSupported []string `json:"claims_supported,omitempty"` CodeChallengeMethodsSupported []string `json:"code_challenge_methods_supported,omitempty"` } // User represents information about user. type User struct { Name string `json:"username"` ID string `json:"id"` Enabled bool `json:"enabled"` } // Standard errors. var (
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.7K bytes - Click Count (0) -
tests/test_security_api_key_query_description.py
assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "APIKey" def test_openapi_schema(): response = client.get("/openapi.json")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.2K bytes - Click Count (0) -
tests/test_security_api_key_query_optional.py
assert response.status_code == 200, response.text assert response.json() == {"username": "secret"} def test_security_api_key_no_key(): response = client.get("/users/me") assert response.status_code == 200, response.text assert response.json() == {"msg": "Create an account first"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.textCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
def test_post_no_body_q_bar(client: TestClient): response = client.put("/items/5?q=bar", json=None) assert response.status_code == 200 assert response.json() == {"item_id": 5, "q": "bar"} def test_post_no_body(client: TestClient): response = client.put("/items/5", json=None) assert response.status_code == 200 assert response.json() == {"item_id": 5} def test_post_id_foo(client: TestClient):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/schema-extra-example.md
/// ### JSON Schema’nın `examples` alanı { #json-schemas-examples-field } Sonrasında JSON Schema, spesifikasyonun yeni bir sürümüne [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) alanını ekledi. Ardından yeni OpenAPI 3.1.0, bu yeni `examples` alanını içeren en güncel sürümü (JSON Schema 2020-12) temel aldı.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 9.6K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
```JSON { "item": "The Foo Wrestlers" } ``` Pero si el cliente solicita `http://example.com/items/bar` (un `item_id` inexistente `"bar"`), ese cliente recibirá un código de estado HTTP de 404 (el error "no encontrado"), y un response JSON de: ```JSON { "detail": "Item not found" } ``` /// tip | ConsejoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 9.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/handling-errors.md
```JSON { "item": "The Foo Wrestlers" } ``` Mas se o cliente faz uma requisição para `http://example.com/items/bar` (ou seja, um não existente `item_id "bar"`), esse cliente receberá um HTTP status code 404 (o erro "não encontrado" — *not found error*), e uma resposta JSON: ```JSON { "detail": "Item not found" } ``` /// tip | DicaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial004.py
"/items/123", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, "tags": ["foo", "bar", "foo"], "image": {"url": "http://example.com/image.png", "name": "example image"}, }, ) assert response.status_code == 200, response.text assert response.json() == { "item_id": 123,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) -
docs/pt/docs/tutorial/request-forms.md
/// ## Sobre "Campos de formulário" { #about-form-fields } A forma como os formulários HTML (`<form></form>`) enviam os dados para o servidor normalmente usa uma codificação "especial" para esses dados, é diferente do JSON. O **FastAPI** fará a leitura desses dados no lugar certo em vez de JSON. /// note | Detalhes Técnicos
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/fr/docs/tutorial/request-forms.md
/// ## À propos des « champs de formulaire » { #about-form-fields } La manière dont les formulaires HTML (`<form></form>`) envoient les données au serveur utilise normalement un encodage « spécial » pour ces données, différent de JSON. **FastAPI** s'assure de lire ces données au bon endroit au lieu de JSON. /// note | Détails techniquesCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 3.1K bytes - Click Count (0)