Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,021 for openat (0.06 sec)

  1. tests/test_generic_parameterless_depends.py

        assert response.json() == {"cls": "B"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "openapi": "3.1.0",
            "paths": {
                "/a": {
                    "get": {
                        "operationId": "a_a_get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Apr 02 02:52:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tests/test_openapi_servers.py

    def test_app():
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    
    
    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"},
            "servers": [
                {"url": "/", "description": "Default, relative server"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_security/test_tutorial001_an_py39.py

        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        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": {
                "/items/": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. docs/ru/docs/features.md

    # Основные свойства
    
    ## Основные свойства FastAPI
    
    **FastAPI** предлагает вам следующее:
    
    ### Использование открытых стандартов
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/first-steps.md

    We will soon also create the actual path operation.
    
    /// info
    
    If you are a very strict "Pythonista" you might dislike the style of the parameter name `tokenUrl` instead of `token_url`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/em/docs/advanced/behind-a-proxy.md

    🆙 📥, 🌐 🔜 👷 🛎.
    
    ✋️ ⤴️, 🕐❔ 👆 📂 🛠️ 🩺 🎚 (🕸), ⚫️ 🔜 ⌛ 🤚 🗄 🔗 `/openapi.json`, ↩️ `/api/v1/openapi.json`.
    
    , 🕸 (👈 🏃 🖥) 🔜 🔄 🏆 `/openapi.json` & 🚫🔜 💪 🤚 🗄 🔗.
    
    ↩️ 👥 ✔️ 🗳 ⏮️ ➡ 🔡 `/api/v1` 👆 📱, 🕸 💪 ☕ 🗄 🔗 `/api/v1/openapi.json`.
    
    ```mermaid
    graph LR
    
    browser("Browser")
    proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/additional-responses.md

    ```
    
    ## Weitere Informationen zu OpenAPI-Responses
    
    Um zu sehen, was genau Sie in die Responses aufnehmen können, können Sie die folgenden Abschnitte in der OpenAPI-Spezifikation überprüfen:
    
    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responsesObject" class="external-link" target="_blank">OpenAPI Responses Object</a>, enthält das `Response Object`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/additional-responses.md

    ## More information about OpenAPI responses
    
    To see what exactly you can include in the responses, you can check these sections in the OpenAPI specification:
    
    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#responses-object" class="external-link" target="_blank">OpenAPI Responses Object</a>, it includes the `Response Object`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/schema-extra-example.md

    所以 OpenAPI为了相似的目的定义了自己的 <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a> (使用 `example`, 而不是 `examples`), 这也是文档 UI 所使用的 (使用 Swagger UI).
    
    所以,虽然 `example` 不是JSON Schema的一部分,但它是OpenAPI的一部分,这将被文档UI使用。
    
    ## 其他信息
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

          }
        },
        STREAMS_FIND_LAST {
          @Override
          Object operate(Stream<?> stream) {
            return Streams.findLast(stream);
          }
        },
        REDUCE_LAST {
          @Override
          Object operate(Stream<?> stream) {
            return stream.reduce((a, b) -> b);
          }
        },
        REDUCE_LAST_PARALLEL {
          @Override
          Object operate(Stream<?> stream) {
            return stream.parallel().reduce((a, b) -> b);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top