Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 706 for openapi (0.04 seconds)

  1. tests/test_tutorial/test_header_param_models/test_tutorial002.py

                    }
                ]
            }
        )
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial001.py

            "tags": ["tag1", "tag2"],
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. docs/en/docs/reference/fastapi.md

    from fastapi import FastAPI
    ```
    
    ::: fastapi.FastAPI
        options:
            members:
                - openapi_version
                - webhooks
                - state
                - dependency_overrides
                - openapi
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
                - options
                - head
                - patch
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 701 bytes
    - Click Count (0)
  4. tests/test_tutorial/test_header_params/test_tutorial003.py

        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py

    
    def test_dummy_webhook():
        # Just for coverage
        app.webhooks.routes[0].endpoint({})
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. tests/test_union_body.py

        assert response.json() == {"item": {"name": "Foo"}}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "post": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Dieser Statuscode wird in der Response verwendet und zum OpenAPI-Schema hinzugefügt.
    
    /// note | Technische Details
    
    Sie können auch `from starlette import status` verwenden.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Этот статус-код будет использован в ответе и будет добавлен в схему OpenAPI.
    
    /// note | Технические детали
    
    Вы также можете использовать `from starlette import status`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    That status code will be used in the response and will be added to the OpenAPI schema.
    
    /// note | Technical Details
    
    You could also use `from starlette import status`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    No entanto, você ainda aplica estes escopos, ou qualquer outro requisito de segurança/autorização, conforme necessário, em seu código.
    
    Em muitos casos, OAuth2 com escopos pode ser um exagero.
    
    Mas se você sabe que precisa, ou está curioso, continue lendo.
    
    ///
    
    ## Escopos OAuth2 e OpenAPI { #oauth2-scopes-and-openapi }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top