- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 562 for Model3 (0.07 sec)
-
tests/test_response_code_no_body.py
class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a", status_code=204, response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass @app.get("/b", responses={204: {"description": "No Content"}}) async def b(): pass # pragma: no cover client = TestClient(app)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.2K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.model; import java.io.Serializable; import static java.util.Objects.requireNonNull; public abstract class BaseObject implements Serializable, Cloneable, InputLocationTracker {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
api/maven-api-plugin/src/main/java/org/apache/maven/api/plugin/descriptor/package-info.java
// CHECKSTYLE_OFF: RegexpHeader /** * Maven Plugin descriptor model. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 122 bytes - Viewed (0) -
fastapi/openapi/constants.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 153 bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java
*/ package org.apache.maven.api; import java.util.Optional; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.model.PluginExecution; import org.apache.maven.api.plugin.descriptor.MojoDescriptor; import org.apache.maven.api.xml.XmlNode; /** * A {@code MojoExecution} represents a single execution of a Maven Plugin during a given build.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingResult.java
* under the License. */ package org.apache.maven.toolchain.building; import java.util.ArrayList; import java.util.List; import org.apache.maven.building.Problem; import org.apache.maven.toolchain.model.PersistedToolchains; /** * Holds the result of the merged toolchains and holds the problems during this build, if any. * * @since 3.3.0
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package model import com.alibaba.fastjson.JSON import java.io.File val ignoredSubprojects = listOf( "soak", // soak test "distributions-integ-tests", // build distribution testing
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 02 14:55:06 UTC 2023 - 2.2K bytes - Viewed (0) -
docs/zh/docs/advanced/additional-responses.md
# OPENAPI 中的其他响应 您可以声明附加响应,包括附加状态代码、媒体类型、描述等。 这些额外的响应将包含在OpenAPI模式中,因此它们也将出现在API文档中。 但是对于那些额外的响应,你必须确保你直接返回一个像 `JSONResponse` 一样的 `Response` ,并包含你的状态代码和内容。 ## `model`附加响应 您可以向路径操作装饰器传递参数 `responses` 。 它接收一个 `dict`,键是每个响应的状态代码(如`200`),值是包含每个响应信息的其他 `dict`。 每个响应字典都可以有一个关键模型,其中包含一个 `Pydantic` 模型,就像 `response_model` 一样。 **FastAPI**将采用该模型,生成其`JSON Schema`并将其包含在`OpenAPI`中的正确位置。 例如,要声明另一个具有状态码 `404` 和`Pydantic`模型 `Message` 的响应,可以写:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
package org.apache.maven.toolchain; import javax.inject.Named; import javax.inject.Singleton; import java.io.File; import java.io.InputStream; import java.nio.file.Files; import org.apache.maven.toolchain.model.PersistedToolchains; import org.apache.maven.toolchain.v4.MavenToolchainsStaxReader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-parent.xml
<modelVersion>4.0.0</modelVersion> <groupId>inheritance</groupId> <artifactId>parent</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test parent</name> <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description> <modules>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)