Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for conditional (0.41 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    # Conditional OpenAPI { #conditional-openapi }
    
    If you needed to, you could use settings and environment variables to configure OpenAPI conditionally depending on the environment, and even disable it entirely.
    
    ## About security, APIs, and docs { #about-security-apis-and-docs }
    
    Hiding your documentation user interfaces in production *shouldn't* be the way to protect your API.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    			}
    		} else if strings.HasPrefix(policy.Key, "$x-amz-meta-") || strings.HasPrefix(policy.Key, "$x-amz-") {
    			// This covers all conditions X-Amz-Meta-* and X-Amz-*
    			// Check if policy condition is satisfied
    			if !checkPolicyCond(op, formValues.Get(formCanonicalName), policy.Value) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. docs/en/mkdocs.yml

        redirect_maps:
          deployment/deta.md: deployment/cloud.md
          advanced/graphql.md: how-to/graphql.md
          advanced/custom-request-and-route.md: how-to/custom-request-and-route.md
          advanced/conditional-openapi.md: how-to/conditional-openapi.md
          advanced/extending-openapi.md: how-to/extending-openapi.md
          advanced/testing-database.md: how-to/testing-database.md
      mkdocstrings:
        handlers:
          python:
            options:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertTrue(testRule.match(responseData)); // Always matches when set to true
    
            // Both should inherit same property behavior
            conditionalRule.setRuleId("conditional");
            testRule.setRuleId("test");
    
            assertEquals("conditional", conditionalRule.getRuleId());
            assertEquals("test", testRule.getRuleId());
        }
    
        /**
         * Test protected field access
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertTrue(CrawlerStatus.INITIALIZING.ordinal() < CrawlerStatus.RUNNING.ordinal());
            assertTrue(CrawlerStatus.RUNNING.ordinal() < CrawlerStatus.DONE.ordinal());
        }
    
        /**
         * Test usage in conditional statements
         */
        public void test_conditionalStatements() {
            CrawlerStatus status = CrawlerStatus.RUNNING;
    
            // Test with if-else
            if (status == CrawlerStatus.INITIALIZING) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                return ruleId;
            }
    
            @Override
            public ResponseProcessor getResponseProcessor() {
                return responseProcessor;
            }
        }
    
        /**
         * Conditional test rule that matches based on URL pattern
         */
        public static class UrlPatternRule implements Rule {
            private static final long serialVersionUID = 1L;
            private final String ruleId;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return nil, err
    		}
    
    		// if object doesn't exist and not a replication request return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && !opts.ReplicationRequest && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    			return nil, err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  8. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
              .cache(Cache(
                  directory = cacheDirectory,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return objInfo, err
    		}
    
    		// if object doesn't exist and not a replication request return error for If-Match conditional requests
    		// If-None-Match should be allowed to proceed for non-existent objects
    		if err != nil && !opts.ReplicationRequest && opts.HasIfMatch && (isErrObjectNotFound(err) || isErrVersionNotFound(err)) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Allow disabling docs UIs by just disabling OpenAPI with `openapi_url=None`. New example in docs: [Advanced: Conditional OpenAPI](https://fastapi.tiangolo.com/advanced/conditional-openapi/). PR [#1421](https://github.com/tiangolo/fastapi/pull/1421).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top