- Sort Score
- Result 10 results
- Languages All
Results 1001 - 1010 of 2,530 for API (0.01 sec)
-
docs/zh/docs/tutorial/path-operation-configuration.md
/// ## `tags` 参数 `tags` 参数的值是由 `str` 组成的 `list` (一般只有一个 `str` ),`tags` 用于为*路径操作*添加标签: ```Python hl_lines="17 22 27" {!../../docs_src/path_operation_configuration/tutorial002.py!} ``` OpenAPI 概图会自动添加标签,供 API 文档接口使用: <img src="/img/tutorial/path-operation-configuration/image01.png"> ## `summary` 和 `description` 参数 路径装饰器还支持 `summary` 和 `description` 这两个参数: ```Python hl_lines="20-21"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
okhttp/build.gradle.kts
from(osgiTestDeploy) into("$buildDir/resources/test/okhttp3/osgi/deployments") } tasks.getByName("test") { dependsOn(copyOsgiTestDeployment) } dependencies { api(libs.squareup.okio) api(libs.kotlin.stdlib) // These compileOnly dependencies must also be listed in the OSGi configuration above. compileOnly(libs.robolectric.android) compileOnly(libs.bouncycastle.bcprov)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/zh/docs/advanced/dataclasses.md
注意,数据类不支持 Pydantic 模型的所有功能。 因此,开发时仍需要使用 Pydantic 模型。 但如果数据类很多,这一技巧能给 FastAPI 开发 Web API 增添不少助力。🤓 /// ## `response_model` 使用数据类 在 `response_model` 参数中使用 `dataclasses`: ```Python hl_lines="1 7-13 19" {!../../docs_src/dataclasses/tutorial002.py!} ``` 本例把数据类自动转换为 Pydantic 数据类。 API 文档中也会显示相关概图: <img src="/img/tutorial/dataclasses/image01.png"> ## 在嵌套数据结构中使用数据类
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.model.building; import java.util.Arrays; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class ModelBuildingExceptionTest { @Test void testMessage() { DefaultModelProblem pb1 =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/CoreRealm.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.codehaus.plexus.classworlds.ClassWorld; import org.codehaus.plexus.classworlds.realm.ClassRealm; /** * Access to core {@link ClassRealm}. * * @since 4.0.0
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
native-image-tests/src/test/kotlin/okhttp3/nativeImage/NativeImageTestsTest.kt
*/ package okhttp3.nativeImage import okhttp3.SampleTest import okhttp3.findTests import okhttp3.testSelectors import okhttp3.treeListener import org.junit.jupiter.api.Assertions.assertNotNull import org.junit.jupiter.api.Test import org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor import org.junit.platform.engine.discovery.DiscoverySelectors class NativeImageTestsTest { @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
/** Test for {@link ListenableFuture}. */ public class ListenableFutureTest extends TestCase { public void testNoNewApis() throws Exception { assertWithMessage( "Do not add new methods to ListenableFuture. Its API needs to continue to match the" + " version we released in a separate artifact com.google.guava:listenablefuture.") .that(ListenableFuture.class.getDeclaredMethods()) .asList()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 15 19:48:16 UTC 2023 - 1.7K bytes - Viewed (0) -
docs/zh/docs/advanced/security/oauth2-scopes.md
作用域是更精密的权限系统,遵循 OAuth2 标准,与 OpenAPI 应用(和 API 自动文档)集成。 OAuth2 也是脸书、谷歌、GitHub、微软、推特等第三方身份验证应用使用的机制。这些身份验证应用在用户登录应用时使用 OAuth2 提供指定权限。 脸书、谷歌、GitHub、微软、推特就是 OAuth2 作用域登录。 本章介绍如何在 **FastAPI** 应用中使用 OAuth2 作用域管理验证与授权。 /// warning | "警告" 本章内容较难,刚接触 FastAPI 的新手可以跳过。 OAuth2 作用域不是必需的,没有它,您也可以处理身份验证与授权。 但 OAuth2 作用域与 API(通过 OpenAPI)及 API 文档集成地更好。 不管怎么说,**FastAPI** 支持在代码中使用作用域或其它安全/授权需求项。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java
/** * <strong>Warning:</strong> This is an internal utility class that is only public for technical reasons, it is not part * of the public API. In particular, this class can be changed or deleted without prior notice. * * @deprecated since 4.0.0, use {@code maven-api-impl} jar instead */ @Deprecated(since = "4.0.0") public class ArtifactDescriptorUtils { public static Artifact toPomArtifact(Artifact artifact) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
docs/ko/docs/project-generation.md
많은 초기 설정, 보안, 데이터베이스 및 일부 API 엔드포인트가 이미 준비되어 있으므로, 여러분은 이 템플릿을 (프로젝트를) 시작하는 데 사용할 수 있습니다. GitHub 저장소: <a href="https://github.com/tiangolo/full-stack-fastapi-template" class="external-link" target="_blank">Full Stack FastAPI 템플릿</a> ## Full Stack FastAPI 템플릿 - 기술 스택과 기능들 - ⚡ [**FastAPI**](https://fastapi.tiangolo.com): Python 백엔드 API.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 04 11:16:34 UTC 2024 - 2.1K bytes - Viewed (0)