Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for screenShot (0.25 sec)

  1. docs/en/docs/css/custom.css

      margin-bottom: 2em;
    }
    
    /* Screenshots */
    /*
    Simulate a browser window frame.
    Inspired by Termynal's CSS tricks with modifications
    */
    
    .screenshot {
      display: block;
      background-color: #d3e0de;
      border-radius: 4px;
      padding: 45px 5px 5px;
      position: relative;
      -webkit-box-sizing: border-box;
              box-sizing: border-box;
    }
    
    .screenshot img {
      display: block;
    CSS
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jan 28 09:53:45 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. scripts/playwright/separate_openapi_schemas/image03.py

        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("tab", name="Schema").click()
        page.get_by_label("Schema").get_by_role("button", name="Expand all").click()
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image03.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 892 bytes
    - Viewed (0)
  3. scripts/playwright/separate_openapi_schemas/image02.py

        page.goto("http://localhost:8000/docs")
        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("button", name="Try it out").click()
        page.get_by_role("button", name="Execute").click()
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image02.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 873 bytes
    - Viewed (0)
  4. scripts/playwright/separate_openapi_schemas/image04.py

        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="Item-Input").click()
        page.get_by_role("button", name="Item-Output").click()
        page.set_viewport_size({"width": 960, "height": 820})
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image04.png"
        )
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 881 bytes
    - Viewed (0)
  5. docs/de/docs/how-to/separate-openapi-schemas.md

    ### Eingabemodell in der Dokumentation
    
    Sie können überprüfen, dass das Feld `description` in der Dokumentation kein **rotes Sternchen** enthält, es ist nicht als erforderlich markiert:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### Modell für die Ausgabe
    
    Wenn Sie jedoch dasselbe Modell als Ausgabe verwenden, wie hier:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:03 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/separate-openapi-schemas.md

    ### Input Model in Docs
    
    You can confirm that in the docs, the `description` field doesn't have a **red asterisk**, it's not marked as required:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    ### Model for Output
    
    But if you use the same model as an output, like here:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. scripts/playwright/separate_openapi_schemas/image05.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("button", name="Item", exact=True).click()
        page.set_viewport_size({"width": 960, "height": 700})
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image05.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 829 bytes
    - Viewed (0)
  8. scripts/playwright/separate_openapi_schemas/image01.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_text("POST/items/Create Item").click()
        page.get_by_role("tab", name="Schema").first.click()
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 25 19:10:22 GMT 2023
    - 819 bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

        * New docs [Separate OpenAPI Schemas for Input and Output or Not](https://fastapi.tiangolo.com/how-to/separate-openapi-schemas/).
        * This PR also includes a new setup (internal tools) for generating screenshots for the docs.
    
    ### Refactors
    
    * ♻️ Refactor tests for new Pydantic 2.2.1. PR [#10115](https://github.com/tiangolo/fastapi/pull/10115) by [@tiangolo](https://github.com/tiangolo).
    
    ### Docs
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  10. requirements.txt

    -e .[all]
    -r requirements-tests.txt
    -r requirements-docs.txt
    pre-commit >=2.17.0,<4.0.0
    # For generating screenshots
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 23:48:42 GMT 2024
    - 128 bytes
    - Viewed (0)
Back to top