Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 540 for item_b (0.05 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial003.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "name": "item_id",
                                "in": "path",
                                "required": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_response_model/test_tutorial004.py

        return client
    
    
    @pytest.mark.parametrize(
        "url,data",
        [
            ("/items/foo", {"name": "Foo", "price": 50.2}),
            (
                "/items/bar",
                {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
            ),
            (
                "/items/baz",
                {
                    "name": "Baz",
                    "description": None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_additional_responses/test_tutorial002.py

            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Return the JSON item or an image.",
                                "content": {
                                    "image/png": {},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_updates/test_tutorial002.py

            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "application/json": {
                                        "schema": {"$ref": "#/components/schemas/Item"}
                                    }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial001_py39.py hl[6:7] *}
    
    The value of the path parameter `item_id` will be passed to your function as the argument `item_id`.
    
    So, if you run this example and go to <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, you will see a response of:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types { #path-parameters-with-types }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial001_py39.py hl[6:7] *}
    
    El valor del parámetro de path `item_id` se pasará a tu función como el argumento `item_id`.
    
    Así que, si ejecutas este ejemplo y vas a <a href="http://127.0.0.1:8000/items/foo" class="external-link" target="_blank">http://127.0.0.1:8000/items/foo</a>, verás un response de:
    
    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Parámetros de path con tipos { #path-parameters-with-types }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java

            PlexusConfiguration config = new XmlPlexusConfiguration("test");
            config.setValue("item1");
    
            when(evaluator.evaluate("item1")).thenReturn("item1");
    
            helper.setProperty(bean, "item", String.class, config);
    
            assertEquals(1, bean.getItems().size());
            assertEquals("item1", bean.getItems().get(0));
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 12 14:59:46 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Declarar metadatos { #declare-metadata }
    
    Puedes declarar todos los mismos parámetros que para `Query`.
    
    Por ejemplo, para declarar un valor de metadato `title` para el parámetro de path `item_id` puedes escribir:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | Nota
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Metadaten deklarieren { #declare-metadata }
    
    Sie können dieselben Parameter wie für `Query` deklarieren.
    
    Um zum Beispiel einen `title`-Metadaten-Wert für den Pfad-Parameter `item_id` zu deklarieren, können Sie schreiben:
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note | Hinweis
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "summary": "Update Item",
                        "operationId": "update_item_items__item_id__put",
                        "parameters": [
                            {
                                "name": "item_id",
                                "in": "path",
                                "required": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top