Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 704 for validating (0.11 sec)

  1. docs/en/docs/tutorial/header-param-models.md

    # Header Parameter Models
    
    If you have a group of related **header parameters**, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Header Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial001_an.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_request_form_models/test_tutorial001_an_py39.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 05 15:16:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/expiration_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // appropriate errors on validation
    func TestInvalidExpiration(t *testing.T) {
    	testCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with zero days
    			inputXML: ` <Expiration>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_optional.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.validation.VaErrorHook;
    import org.lastaflute.web.validation.exception.ValidationErrorException;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     */
    public class AdminDictStemmeroverrideAction extends FessAdminAction {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. src/main/assemblies/files/fess.in.bat

    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dlog4j2.disable.jmx=true
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dlog4j2.formatMsgNoLookups=true
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dlog4j.skipJansi=true
    
    REM SSL truststore for certificate validation over https
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStore=/tech/elastic/config/truststore.jks
    REM FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djavax.net.ssl.trustStorePassword=changeit
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-directly.md

    It won't do any data conversion with Pydantic models, it won't convert the contents to any type, etc.
    
    This gives you a lot of flexibility. You can return any data type, override any data declaration or validation, etc.
    
    ## Using the `jsonable_encoder` in a `Response`
    
    Because **FastAPI** doesn't make any changes to a `Response` you return, you have to make sure its contents are ready for it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/rule_test.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"fmt"
    	"testing"
    )
    
    // TestInvalidRules checks if Rule xml with invalid elements returns
    // appropriate errors on validation
    func TestInvalidRules(t *testing.T) {
    	invalidTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Rule with ID longer than 255 characters
    			inputXML: ` <Rule>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 01:11:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    `Form` is a class that inherits directly from `Body`.
    
    ///
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top