Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 4,837 for classic (0.04 sec)

  1. docs/en/docs/advanced/additional-responses.md

    ///
    
    /// info
    
    Unless you specify a different media type explicitly in your `responses` parameter, FastAPI will assume the response has the same media type as the main response class (default `application/json`).
    
    But if you have specified a custom response class with `None` as its media type, FastAPI will use `application/json` for any additional response that has an associated model.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. tests/test_request_params/test_body/test_list.py

    # Without aliases
    
    
    @app.post("/required-list-str", operation_id="required_list_str")
    async def read_required_list_str(p: Annotated[list[str], Body(embed=True)]):
        return {"p": p}
    
    
    class BodyModelRequiredListStr(BaseModel):
        p: list[str]
    
    
    @app.post("/model-required-list-str", operation_id="model_required_list_str")
    def read_model_required_list_str(p: BodyModelRequiredListStr):
        return {"p": p.p}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. tests/test_request_params/test_body/test_optional_str.py

    # Without aliases
    
    
    @app.post("/optional-str", operation_id="optional_str")
    async def read_optional_str(p: Annotated[Optional[str], Body(embed=True)] = None):
        return {"p": p}
    
    
    class BodyModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.post("/model-optional-str", operation_id="model_optional_str")
    async def read_model_optional_str(p: BodyModelOptionalStr):
        return {"p": p.p}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  4. docs/es/docs/features.md

    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>, con exploración interactiva, llama y prueba tu API directamente desde el navegador.
    
    ![Interacción Swagger UI](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * Documentación alternativa de API con <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank"><strong>ReDoc</strong></a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. docs_src/body_multiple_params/tutorial004_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import Body, FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    class User(BaseModel):
        username: str
        full_name: Union[str, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 674 bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.Configuration;
    
    /**
     * Test class for TransWaitNamedPipe
     */
    class TransWaitNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransWaitNamedPipe transWaitNamedPipe;
        private String testPipeName = "\\PIPE\\testpipe";
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

     * and supports destruction listeners.</p>
     *
     * @param <T> the type of the pooled object
     */
    public class CrawlerPooledObjectFactory<T> extends BasePooledObjectFactory<T> {
        private static final Logger logger = LogManager.getLogger(CrawlerPooledObjectFactory.class);
    
        /**
         * The container that provides crawler components.
         */
        protected CrawlerContainer crawlerContainer;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    import jcifs.smb1.dcerpc.ndr.NdrException;
    import jcifs.smb1.dcerpc.ndr.NdrObject;
    
    /**
     * Abstract base class for DCERPC messages.
     * This class provides common functionality for all DCE/RPC message types in SMB1 protocol.
     */
    public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants {
    
        /**
         * Default constructor for DcerpcMessage.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

     * - Null options edge case.
     * - Repeated calls equivalence and instance separation.
     * - Interaction check that passed options are not mutated.
     */
    @ExtendWith(MockitoExtension.class)
    class StaticJAASConfigurationTest {
    
        // Constants used in assertions
        private static final String EXPECTED_LOGIN_MODULE = "com.sun.security.auth.module.Krb5LoginModule";
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    class SmbComNtTransactionTest {
    
        private ConcreteSmbComNtTransaction smbComNtTransaction;
    
        // A concrete implementation of the abstract class SmbComNtTransaction for testing.
        private static class ConcreteSmbComNtTransaction extends SmbComNtTransaction {
            @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top