- Sort Score
- Result 10 results
- Languages All
Results 4331 - 4340 of 4,424 for cOm (0.01 sec)
-
docs/zh/docs/advanced/security/oauth2-scopes.md
OpenAPI 中(例如 API 文档)可以定义**安全方案**。 这些安全方案在使用 OAuth2 时,还可以声明和使用作用域。 **作用域**只是(不带空格的)字符串。 常用于声明特定安全权限,例如: * 常见用例为,`users:read` 或 `users:write` * 脸书和 Instagram 使用 `instagram_basic` * 谷歌使用 `https://www.googleapis.com/auth/drive` /// info | 说明 OAuth2 中,**作用域**只是声明特定权限的字符串。 是否使用冒号 `:` 等符号,或是不是 URL 并不重要。 这些细节只是特定的实现方式。 对 OAuth2 来说,它们都只是字符串而已。 /// ## 全局纵览
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 29 20:41:04 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
Because `Annotated` can have more than one metadata annotation, you could now even use the same function with other tools, like <a href="https://typer.tiangolo.com/" class="external-link" target="_blank">Typer</a>. 🚀 ## Add more validations { #add-more-validations } You can also add a parameter `min_length`:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 16.7K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
Here we are declaring a `UserIn` model, it will contain a plaintext password: {* ../../docs_src/response_model/tutorial002_py310.py hl[7,9] *} /// info To use `EmailStr`, first install <a href="https://github.com/JoshData/python-email-validator" class="external-link" target="_blank">`email-validator`</a>.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
} /** * Webservers may set the initial window size to zero, which is a special case because it means * that we have to flush headers immediately before any request body can be sent. * https://github.com/square/okhttp/issues/2543 */ @Test fun peerSetsZeroFlowControl() { peer.setClient(true) // Write the mocking script. peer.sendFrame().settings(Settings().set(Settings.INITIAL_WINDOW_SIZE, 0))
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 75.5K bytes - Viewed (0) -
cmd/data-usage_test.go
package cmd import ( "bytes" "context" "encoding/json" "fmt" "os" "path" "path/filepath" "testing" "time" "github.com/minio/minio/internal/cachevalue" ) type usageTestFile struct { name string size int } func TestDataUsageUpdate(t *testing.T) { base := t.TempDir() const bucket = "bucket" files := []usageTestFile{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
random: Random?, pingIntervalMillis: Int = 0, responseHeaders: Headers? = headersOf(), webSocketCloseTimeout: Long = RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS, ) { val url = "http://example.com/websocket" val response = Response .Builder() .code(101) .message("OK") .request(Request.Builder().url(url).build()) .headers(responseHeaders!!)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.RuntimeCIFSException; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb1.com.SmbComNTCreateAndXResponse; import jcifs.internal.util.SMBUtil; /** * Test class for AndXServerMessageBlock */ class AndXServerMessageBlockTest { @Mock private Configuration mockConfig;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
@Mock private SmbTransport transport; @Mock private InetAddress localAddr; private static final int DEFAULT_PORT = 445; private static final String TEST_HOST = "test.server.com"; private static final int LOCAL_PORT = 12345; @BeforeEach void setUp() { // Common setup for all tests } @Nested @DisplayName("GetSmbTransport Methods")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
docs/zh/docs/advanced/generate-clients.md
## OpenAPI 客户端生成 有许多工具可以从**OpenAPI**生成客户端。 一个常见的工具是 <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>。 如果您正在开发**前端**,一个非常有趣的替代方案是 <a href="https://github.com/hey-api/openapi-ts" class="external-link" target="_blank">openapi-ts</a>。 ## 生成一个 TypeScript 前端客户端 让我们从一个简单的 FastAPI 应用开始: {* ../../docs_src/generate_clients/tutorial001_py39.py hl[7:9,12:13,16:17,21] *}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 8.5K bytes - Viewed (0) -
fastapi/_compat/v2.py
json_schema = field_mapping[(field, override_mode or field.mode)] if "$ref" not in json_schema: # TODO remove when deprecating Pydantic v1 # Ref: https://github.com/pydantic/pydantic/blob/d61792cc42c80b13b23e3ffa74bc37ec7c77f7d1/pydantic/schema.py#L207 json_schema["title"] = field.field_info.title or field_alias.title().replace( "_", " " ) return json_schema
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 19.1K bytes - Viewed (0)