Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 132 for swagger (0.23 sec)

  1. samples/bookinfo/swagger.yaml

    swagger: "2.0"
    info:
      description: "This is the API of the Istio BookInfo sample application."
      version: "1.0.0"
      title: "BookInfo API"
      termsOfService: "https://istio.io/"
      license:
        name: "Apache 2.0"
        url: "http://www.apache.org/licenses/LICENSE-2.0.html"
    basePath: "/api/v1"
    tags:
    - name: "product"
      description: "Information about a product (in this case a book)"
    - name: "review"
      description: "Review information for a product"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 21 17:00:23 UTC 2017
    - 6.2K bytes
    - Viewed (0)
  2. docs/zh/docs/how-to/configure-swagger-ui.md

    # 配置 Swagger UI
    
    你可以配置一些额外的 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI 参数</a>.
    
    如果需要配置它们,可以在创建 `FastAPI()` 应用对象时或调用 `get_swagger_ui_html()` 函数时传递 `swagger_ui_parameters` 参数。
    
    `swagger_ui_parameters` 接受一个直接传递给 Swagger UI的字典,包含配置参数键值对。
    
    FastAPI会将这些配置转换为 **JSON**,使其与 JavaScript 兼容,因为这是 Swagger UI 需要的。
    
    ## 不使用语法高亮
    
    比如,你可以禁用 Swagger UI 中的语法高亮。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun May 05 21:34:13 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/configure-swagger-ui.md

    # Configure Swagger UI
    
    You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI parameters</a>.
    
    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. hack/gen-swagger-doc/gen-swagger-docs.sh

    # limitations under the License.
    
    # Script to generate docs from the latest swagger spec.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    cd /build
    
    # gendocs takes "input.json" as the input swagger spec.
    # $1 is expected to be <group>_<version>
    cp /swagger-source/"$1".json input.json
    
    ./gradle-2.5/bin/gradle gendocs --info
    
    #insert a TOC for top level API objects
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 19 12:58:58 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-precision-item.json

    {
      "swagger": "2.0",
      "info": {
        "title": "StrategicMergePatchTestingPrecisionItem",
        "version": "v1.9.0"
      },
      "paths": {},
      "definitions": {
        "precisionItem": {
          "description": "PrecisionItem is type definition for testing strategic merge.",
          "required": [],
          "properties": {
            "name": {
              "description": "Name field.",
              "type": "string"
            },
            "int32": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/configure-swagger-ui.md

    ```
    
    ## Andere Parameter der Swagger-Oberfläche
    
    Um alle anderen möglichen Konfigurationen zu sehen, die Sie verwenden können, lesen Sie die offizielle <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Dokumentation für die Parameter der Swagger-Oberfläche</a>.
    
    ## JavaScript-basierte Einstellungen
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:17:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-merge-item.json

    {
      "swagger": "2.0",
      "info": {
        "title": "StrategicMergePatchTestingMergeItem",
        "version": "v1.9.0"
      },
      "paths": {},
      "definitions": {
        "mergeItem": {
          "description": "MergeItem is type definition for testing strategic merge.",
          "required": [],
          "properties": {
            "name": {
              "description": "Name field.",
              "type": "string"
            },
            "value": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 22:35:14 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-merge-item-v3.json

    Jefftree <******@****.***> 1694810813 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/testdata/swagger-precision-item-v3.json

    Jefftree <******@****.***> 1694810813 -0400
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. docs_src/custom_docs_ui/tutorial001.py

        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
            oauth2_redirect_url=app.swagger_ui_oauth2_redirect_url,
            swagger_js_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js",
            swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top