Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 971 for modelX (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    
    /**
     * A model transformer.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ModelTransformer {
    
        /**
         * Apply a transformation on the file model.
         *
         * @param model the input model
         * @param problems the problem collector to report any issues encountered during transformation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tests/test_request_params/test_header/test_optional_str.py

        return {"p": p}
    
    
    class HeaderModelOptionalStr(BaseModel):
        p: Optional[str] = None
    
    
    @app.get("/model-optional-str")
    async def read_model_optional_str(p: Annotated[HeaderModelOptionalStr, Header()]):
        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.2K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
            // Serialize an inner child here so that the BaseObject.childrenTracking is non null
            Build build = model.getBuild();
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. tests/test_request_params/test_header/test_required_str.py

        return {"p": p}
    
    
    class HeaderModelRequiredStr(BaseModel):
        p: str
    
    
    @app.get("/model-required-str")
    async def read_model_required_str(p: Annotated[HeaderModelRequiredStr, Header()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_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
    - 10K bytes
    - Viewed (0)
  5. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

     * be registered in {@code META-INF/services/org.apache.maven.api.model.ModelObjectProcessor}.</p>
     *
     * <p>The service is called during model building for all model objects, allowing
     * implementations to decide which objects to process and how to optimize them.</p>
     *
     * @since 4.0.0
     */
    public interface ModelObjectProcessor {
    
        /**
         * Process a model object, potentially returning a pooled or optimized version.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. tests/test_request_params/test_body/test_optional_list.py

    
    class BodyModelOptionalListStr(BaseModel):
        p: Optional[list[str]] = None
    
    
    @app.post("/model-optional-list-str", operation_id="model_optional_list_str")
    async def read_model_optional_list_str(p: BodyModelOptionalListStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. tests/joins_table_test.go

    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	DB.Model(&person).Association("Addresses").Clear()
    
    	if DB.Model(&person).Association("Addresses").Count() != 0 {
    		t.Fatalf("Should deleted all addresses")
    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

     */
    package org.apache.maven.model.building;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.composition.DefaultDependencyManagementImporter;
    import org.apache.maven.model.composition.DependencyManagementImporter;
    import org.apache.maven.model.inheritance.DefaultInheritanceAssembler;
    import org.apache.maven.model.inheritance.InheritanceAssembler;
    import org.apache.maven.model.interpolation.DefaultModelVersionProcessor;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. tests/test_request_params/test_body/test_required_str.py

        return {"p": p}
    
    
    class BodyModelRequiredStr(BaseModel):
        p: str
    
    
    @app.post("/model-required-str", operation_id="model_required_str")
    async def read_model_required_str(p: BodyModelRequiredStr):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        openapi = app.openapi()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. compat/maven-compat/pom.xml

          </plugin>
          <plugin>
            <groupId>org.codehaus.modello</groupId>
            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.0.0</version>
              <models>
                <model>src/main/mdo/profiles.mdo</model>
                <model>src/main/mdo/paramdoc.mdo</model>
              </models>
            </configuration>
            <executions>
              <execution>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top