Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for nilable (0.16 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    # Conditional OpenAPI
    
    If you needed to, you could use settings and environment variables to configure OpenAPI conditionally depending on the environment, and even disable it entirely.
    
    ## About security, APIs, and docs
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    That doesn't add any extra security to your API, the *path operations* will still be available where they are.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/metadata.md

    ```
    
    If you want to disable the OpenAPI schema completely you can set `openapi_url=None`, that will also disable the documentation user interfaces that use it.
    
    ## Docs URLs
    
    You can configure the two documentation user interfaces included:
    
    * **Swagger UI**: served at `/docs`.
        * You can set its URL with the parameter `docs_url`.
        * You can disable it by setting `docs_url=None`.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  3. LICENSE

    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Dec 08 07:57:18 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  4. docs/en/docs/release-notes.md

    * ➕ Replace mkdocs-markdownextradata-plugin with mkdocs-macros-plugin. PR [#11383](https://github.com/tiangolo/fastapi/pull/11383) by [@tiangolo](https://github.com/tiangolo).
    * 👷 Disable MkDocs insiders social plugin while an issue in MkDocs Material is handled. PR [#11373](https://github.com/tiangolo/fastapi/pull/11373) by [@tiangolo](https://github.com/tiangolo).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  5. docs/en/docs/how-to/configure-swagger-ui.md

    ## Disable Syntax Highlighting
    
    For example, you could disable syntax highlighting in Swagger UI.
    
    Without changing the settings, syntax highlighting is enabled by default:
    
    <img src="/img/tutorial/extending-openapi/image02.png">
    
    But you can disable it by setting `syntaxHighlight` to `False`:
    
    ```Python hl_lines="3"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-docs-ui-assets.md

    This could be useful if for example you live in a country that restricts some URLs.
    
    ### Disable the automatic docs
    
    The first step is to disable the automatic docs, as by default, those use the default CDN.
    
    To disable them, set their URLs to `None` when creating your `FastAPI` app:
    
    ```Python hl_lines="8"
    {!../../../docs_src/custom_docs_ui/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_conditional_openapi/test_tutorial001.py

        from docs_src.conditional_openapi import tutorial001
    
        importlib.reload(tutorial001)
    
        client = TestClient(tutorial001.app)
        return client
    
    
    @needs_pydanticv2
    def test_disable_openapi(monkeypatch):
        monkeypatch.setenv("OPENAPI_URL", "")
        # Load the client after setting the env var
        client = get_client()
        response = client.get("/openapi.json")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. docs/zh/docs/deployment/deta.md

    文档显示如下:
    
    <img src="/img/deployment/deta/image01.png">
    
    ## 启用公开访问
    
    默认情况下,Deta 使用您的账号 Cookies 处理身份验证。
    
    应用一切就绪之后,使用如下命令让公众也能看到您的应用:
    
    <div class="termy">
    
    ```console
    $ deta auth disable
    
    Successfully disabled http auth
    ```
    
    </div>
    
    现在,就可以把 URL 分享给大家,他们就能访问您的 API 了。🚀
    
    ## HTTPS
    
    恭喜!您已经在 Deta 上部署了 FastAPI 应用!🎉 🍰
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sun Jan 28 18:06:55 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/header-params.md

    So, you can use `user_agent` as you normally would in Python code, instead of needing to capitalize the first letters as `User_Agent` or something similar.
    
    If for some reason you need to disable automatic conversion of underscores to hyphens, set the parameter `convert_underscores` of `Header` to `False`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="10"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/separate-openapi-schemas.md

    In that case, you can disable this feature in **FastAPI**, with the parameter `separate_input_output_schemas=False`.
    
    !!! info
        Support for `separate_input_output_schemas` was added in FastAPI `0.102.0`. 🤓
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
Back to top