Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 565 for Model1 (0.08 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEventCatapult.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.building;
    
    /**
     * Assists in firing events from a generic method by abstracting from the actual callback method to be called on the
     * listener.
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

         * @param settingsFile The settings file, must not be {@code null}.
         */
        public FileSettingsSource(File settingsFile) {
            super(settingsFile);
        }
    
        /**
         * Gets the settings file of this model source.
         *
         * @return The underlying settings file, never {@code null}.
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getSettingsFile() {
            return getFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. fastapi/openapi/constants.py

    METHODS_WITH_BODY = {"GET", "HEAD", "POST", "PUT", "DELETE", "PATCH"}
    REF_PREFIX = "#/components/schemas/"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 153 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. .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)
  10. 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)
Back to top