Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 994 for ison (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/pt/docs/tutorial/body-multiple-params.md

    ///
    
    ## Múltiplos parâmetros de corpo { #multiple-body-parameters }
    
    No exemplo anterior, as *operações de rota* esperariam um JSON no corpo contendo os atributos de um `Item`, exemplo:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/response-directly.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    由於這會在 Rust 端發生,效能會比用一般的 Python 與 `JSONResponse` 類別來完成好得多。
    
    當使用 `response_model` 或回傳型別時,FastAPI 不會使用 `jsonable_encoder` 來轉換資料(那會較慢),也不會使用 `JSONResponse` 類別。
    
    相反地,它會取用用回應模型(或回傳型別)透過 Pydantic 產生的 JSON 位元組,並直接回傳具備正確 JSON 媒體型別(`application/json`)的 `Response`。
    
    ## 注意事項 { #notes }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. docs/tr/docs/tutorial/security/simple-oauth2.md

    Bir sonraki bölümde, password hashing ve <abbr title="JSON Web Tokens">JWT</abbr> token’ları ile gerçekten güvenli bir implementasyon göreceksiniz.
    
    Ama şimdilik ihtiyacımız olan spesifik detaylara odaklanalım.
    
    ///
    
    {* ../../docs_src/security/tutorial003_an_py310.py hl[87] *}
    
    /// tip | İpucu
    
    Spesifikasyona göre, bu örnekteki gibi `access_token` ve `token_type` içeren bir JSON döndürmelisiniz.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

    import com.google.api.client.http.HttpTransport;
    import com.google.api.client.http.javanet.NetHttpTransport;
    import com.google.api.client.json.JsonFactory;
    import com.google.api.client.json.JsonParser;
    import com.google.api.client.json.JsonToken;
    import com.google.api.client.json.gson.GsonFactory;
    import com.google.common.io.BaseEncoding;
    import com.google.common.io.BaseEncoding.DecodingException;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. tests/test_security_http_basic_realm.py

        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
        assert response.json() == {"detail": "Not authenticated"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. docs/ko/docs/_llm-test.md

    * 고급 사용자 가이드
    * SQLModel 문서
    * API 문서
    * 자동 문서
    
    * Data Science
    * Deep Learning
    * Machine Learning
    * Dependency Injection
    * HTTP Basic authentication
    * HTTP Digest
    * ISO format
    * JSON Schema 표준
    * JSON schema
    * schema definition
    * Password Flow
    * Mobile
    
    * deprecated
    * designed
    * invalid
    * on the fly
    * standard
    * default
    * case-sensitive
    * case-insensitive
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  7. samples/guide/src/main/java/okhttp3/guide/PostExample.java

    import okhttp3.RequestBody;
    import okhttp3.Response;
    
    public class PostExample {
      public static final MediaType JSON = MediaType.get("application/json; charset=utf-8");
    
      final OkHttpClient client = new OkHttpClient();
    
      String post(String url, String json) throws IOException {
        RequestBody body = RequestBody.create(json, JSON);
        Request request = new Request.Builder()
            .url(url)
            .post(body)
            .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2K bytes
    - Click Count (0)
  8. tests/test_additional_responses_union_duplicate_anyof.py

                "content": {"application/json": {"examples": {"Case A": {"value": "a"}}}},
            }
        }
    )
    
    
    @app.get("/route1")
    async def route1():
        pass  # pragma: no cover
    
    
    @app.get("/route2")
    async def route2():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_additional_responses/test_tutorial001.py

        assert response.json() == {"id": "foo", "value": "there goes my hero"}
    
    
    def test_path_operation_not_found():
        response = client.get("/items/bar")
        assert response.status_code == 404, response.text
        assert response.json() == {"message": "Item not found"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. tests/test_swagger_ui_escape.py

            openapi_url="/openapi.json",
            title="Test",
            init_oauth={"appName": xss_payload},
        )
        body = html.body.decode()
    
        assert "</script><script>" not in body
        assert "\\u003c/script\\u003e\\u003cscript\\u003e" in body
    
    
    def test_swagger_ui_parameters_html_chars_are_escaped():
        html = get_swagger_ui_html(
            openapi_url="/openapi.json",
            title="Test",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top