Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 641 for tag3 (1.42 sec)

  1. docs_src/generate_clients/tutorial003_py39.py

        return f"{route.tags[0]}-{route.name}"
    
    
    app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         *
         * @param words the array of search words
         * @param readings the array of readings corresponding to the search words
         * @param fields the array of fields associated with the search words
         * @param tags the array of tags associated with the search words
         * @param roles the array of roles associated with the search words
         * @param score the score associated with the search words
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_generate_clients/test_tutorial003.py

        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "tags": ["items"],
                        "summary": "Get Items",
                        "operationId": "items-get_items",
                        "responses": {
                            "200": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

        public static final String ELEVATE_WORD_READING = "reading";
        /** Key for elevate word fields. */
        public static final String ELEVATE_WORD_FIELDS = "fields";
        /** Key for elevate word tags. */
        public static final String ELEVATE_WORD_TAGS = "tags";
        /** Key for elevate word roles. */
        public static final String ELEVATE_WORD_ROLES = "roles";
    
        /** Array settings for elevate words. */
        protected ArraySettings arraySettings;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. docs_src/generate_clients/tutorial002_py39.py

    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    @app.post("/users/", response_model=ResponseMessage, tags=["users"])
    async def create_user(user: User):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 730 bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/body-nested-models.md

    Use a mesma sintaxe padrão para atributos de modelo com tipos internos.
    
    Portanto, em nosso exemplo, podemos fazer com que `tags` sejam especificamente uma "lista de strings":
    
    {* ../../docs_src/body_nested_models/tutorial002_py310.py hl[12] *}
    
    ## Tipos "set" { #set-types }
    
    Mas então, quando nós pensamos mais, percebemos que as tags não devem se repetir, elas provavelmente devem ser strings únicas.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. tests/test_openapi_separate_input_output_schemas.py

                                    "title": "Sub Description",
                                },
                                "tags": {
                                    "items": {"type": "string"},
                                    "type": "array",
                                    "title": "Tags",
                                    "default": [],
                                },
                            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

         * @param reading     The reading of the word.
         * @param tags        The tags associated with the word.
         * @param permissions The permissions for the word.
         * @param boost       The boost value for the word.
         * @param apply       true to apply the changes immediately.
         */
        public void addElevateWord(final String word, final String reading, final String[] tags, final String[] permissions, final Float boost,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dataclasses/test_tutorial002.py

                                "name": {"title": "Name", "type": "string"},
                                "price": {"title": "Price", "type": "number"},
                                "tags": {
                                    "title": "Tags",
                                    "type": "array",
                                    "items": {"type": "string"},
                                },
                                "description": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. docs_src/bigger_applications/app_py39/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1011 bytes
    - Viewed (0)
Back to top