Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for LocString (0.22 sec)

  1. docs/en/docs/alternatives.md

    It is a plug-in for many frameworks (and there's a plug-in for Starlette too).
    
    The way it works is that you write the definition of the schema using YAML format inside the docstring of each function handling a route.
    
    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. fastapi/applications.py

                Optional[str],
                Doc(
                    """
                    A description for the *path operation*.
    
                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. fastapi/routing.py

                Optional[str],
                Doc(
                    """
                    A description for the *path operation*.
    
                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  4. docs/de/docs/alternatives.md

    Es ist ein Plugin für viele Frameworks (und es gibt auch ein Plugin für Starlette).
    
    Die Funktionsweise besteht darin, dass Sie die Definition des Schemas im YAML-Format im Docstring jeder Funktion schreiben, die eine Route verarbeitet.
    
    Und es generiert OpenAPI-Schemas.
    
    So funktioniert es in Flask, Starlette, Responder, usw.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:26:28 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. docs/ja/docs/alternatives.md

    しかし、ドキュメントはまだ不足しています。そこでAPISpecが作られました。
    
    これは多くのフレームワーク用のプラグインです (Starlette用のプラグインもあります) 。
    
    仕組みとしては、各ルーティング関数のdocstringにYAML形式でスキーマの定義を記述します。
    
    そして、OpenAPIスキーマを生成してくれます。
    
    Flask, Starlette, Responderなどにおいてはそのように動作します。
    
    しかし、Pythonの文字列 (大きなYAML) の中に、小さな構文があるという問題があります。
    
    エディタでは、この問題を解決することはできません。また、パラメータやMarshmallowスキーマを変更したときに、YAMLのdocstringを変更するのを忘れてしまうと、生成されたスキーマが古くなってしまいます。
    
    !!! info "情報"
        APISpecは、Marshmallowと同じ開発者により作成されました。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  6. docs/uk/docs/alternatives.md

    Але документація досі відсутня. Потім було створено APISpec.
    
    Це плагін для багатьох фреймворків (також є плагін для Starlette).
    
    Принцип роботи полягає в тому, що ви пишете визначення схеми, використовуючи формат YAML, у docstring кожної функції, що обробляє маршрут.
    
    І він генерує схеми OpenAPI.
    
    Так це працює у Flask, Starlette, Responder тощо.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. docs/tr/docs/alternatives.md

    Şemanın tanımını <abbr title="Route: HTTP isteğinin gittiği yol">yol</abbr>'a istek geldiğinde çalışan her bir fonksiyonun <abbr title="Döküman dizesi: docstring">döküman dizesinin</abbr> içine YAML formatında olacak şekilde yazıyorsunuz o da OpenAPI şemaları üretiyor.
    
    Flask, Starlette, Responder ve benzerlerinde bu şekilde çalışıyor.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * Add support for truncating docstrings from *path operation functions*.
        * New docs at [Advanced description from docstring](https://fastapi.tiangolo.com/advanced/path-operation-advanced-configuration/#advanced-description-from-docstring).
        * PR [#556](https://github.com/tiangolo/fastapi/pull/556) by [@svalouch](https://github.com/svalouch).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
  9. RELEASE.md

            weighting is done on linear magnitude spectra (sqrt of inputs).
        *   Change `tf.contrib.distributions` docstring examples to use `tfd` alias
            rather than `ds`, `bs`.
        *   Fix docstring typos in `tf.distributions.bijectors.Bijector`.
        *   `tf.assert_equal` no longer raises `ValueError.` It now raises
            `InvalidArgumentError,` as documented.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top