Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for service (0.19 sec)

  1. fastapi/openapi/utils.py

        if summary:
            info["summary"] = summary
        if description:
            info["description"] = description
        if terms_of_service:
            info["termsOfService"] = terms_of_service
        if contact:
            info["contact"] = contact
        if license_info:
            info["license"] = license_info
        output: Dict[str, Any] = {"openapi": openapi_version, "info": info}
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. tests/test_application.py

                            {
                                "name": "device_ids",
                                "in": "query",
                                "required": True,
                                "schema": {
                                    "type": "array",
                                    "items": {"type": "integer"},
                                    "title": "Device Ids",
                                },
                            }
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 52.2K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    """
                ),
            ] = None,
            terms_of_service: Annotated[
                Optional[str],
                Doc(
                    """
                    A URL to the Terms of Service for your API.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more at the
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  4. tests/test_query.py

        response = client.get("/query/list/?device_ids=1&device_ids=2")
        assert response.status_code == 200
        assert response.json() == [1, 2]
    
    
    def test_query_list_empty():
        response = client.get("/query/list/")
        assert response.status_code == 422
    
    
    def test_query_list_default():
        response = client.get("/query/list-default/?device_ids=1&device_ids=2")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  5. fastapi/openapi/docs.py

        """
        html = f"""
        <!DOCTYPE html>
        <html>
        <head>
        <title>{title}</title>
        <!-- needed for adaptive design -->
        <meta charset="utf-8"/>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        """
        if with_google_fonts:
            html += """
        <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
        """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
Back to top