Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 941 for Model3 (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidator.java

     * under the License.
     */
    package org.apache.maven.project.validation;
    
    import org.apache.maven.model.Model;
    
    /**
     * Checks the model for missing or invalid values.
     *
     */
    @Deprecated
    public interface ModelValidator {
    
        String ROLE = ModelValidator.class.getName();
    
        ModelValidationResult validate(Model model);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/test_request_params/test_cookie/test_optional_str.py

        return {"p": p}
    
    
    class CookieModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[CookieModelOptionalStr, Cookie()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

            artifacts.add(artifact2);
    
            return artifacts;
        }
    
        private Model newTestModel() {
            Model model = new Model();
            model.setGroupId("modelGroup1");
            model.setArtifactId("modelArtifact1");
            model.setVersion("modelVersion1");
    
            return model;
        }
    
        @Test
        void testDebugEnabled() throws PlexusContainerException {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. tests/benchmarks/test_general_performance.py

    
    @app.get("/sync/dict-no-response-model")
    def sync_dict_no_response_model():
        return {"name": "foo", "value": 123}
    
    
    @app.get("/sync/dict-with-response-model", response_model=ItemOut)
    def sync_dict_with_response_model(
        dep: Annotated[int, Depends(dep_b)],
    ):
        return {"name": "foo", "value": 123, "dep": dep}
    
    
    @app.get("/sync/model-no-response-model")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 20:40:26 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingEvent.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    
    /**
     * Holds data relevant for a model building event.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelBuildingEvent {
    
        /**
         * Gets the model being built. The precise state of this model depends on the event being fired.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
        void write(Writer output, Map<String, Object> options, Model model) throws IOException;
    
        /**
         * Writes the supplied model to the specified byte stream. The stream will be automatically closed before the method
         * returns.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(WriterFactory.newXmlWriter(output), options, model);
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, Model model) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(model, "model cannot be null");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Collections;
    import java.util.List;
    
    import org.apache.maven.model.Model;
    
    /**
     * Signals one ore more errors during model building. The model builder tries to collect as many problems as possible
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. tests/test_request_params/test_header/test_optional_list.py

    
    class HeaderModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.get("/model-optional-list-str")
    async def read_model_optional_list_str(
        p: Annotated[HeaderModelOptionalListStr, Header()],
    ):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/site/apt/index.apt

     -----
    
    Maven 4 API - Immutable Toolchains Model
    
     This is strictly the immutable model for Maven toolchains in <<<org.apache.maven.api.toolchain>>> package.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with <<<Builder>>> inner classes for immutable instances creation.
    
     See also corresponding {{{../../compat/maven-toolchain-model/index.html}Maven classical toolchains model documentation}}.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Nov 16 18:16:44 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top