Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,041 for model (0.03 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ```
    
    ////
    
    /// info
    
    In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`.
    
    ///
    
    Nevertheless, although we are not using the default integrated functionality, we are still using a Pydantic model to manually generate the JSON Schema for the data that we want to receive in YAML.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.io.File;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.Test;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

    import gradlebuild.docs.dsl.source.model.ClassMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ParameterMetaData
    import gradlebuild.docs.dsl.source.model.PropertyMetaData
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.docbook.model.ClassDoc
    import gradlebuild.docs.dsl.docbook.model.MethodDoc
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilder.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.util.List;
    
    import org.apache.maven.api.Service;
    import org.apache.maven.api.model.Model;
    
    public interface ModelBuilder extends Service {
    
        String MODEL_VERSION_4_0_0 = "4.0.0";
    
        String MODEL_VERSION_4_1_0 = "4.1.0";
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/UrlModelSource.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.net.URL;
    
    import org.apache.maven.building.UrlSource;
    
    /**
     * Wraps an ordinary {@link URL} as a model source.
     *
     *
     * @deprecated instead use {@link UrlSource}
     */
    @Deprecated
    public class UrlModelSource extends UrlSource implements ModelSource {
        /**
         * Creates a new model source backed by the specified URL.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.building.ModelBuildingException;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelSource;
    import org.apache.maven.model.building.UrlModelSource;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.profiles.ProfileManager;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingListener.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;
    
    /**
     * Defines events that the model builder fires during construction of the effective model. When a listener encounters
     * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#getProblems()}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import org.apache.maven.artifact.versioning.VersionRange;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.Repository;
    import org.apache.maven.model.io.ModelReader;
    import org.apache.maven.project.artifact.ArtifactWithDependencies;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Proxy;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. tests/test_response_model_invalid.py

            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": NonPydanticModel}})
            def read_root():
                pass  # pragma: nocover
    
    
    def test_invalid_response_model_sub_type_in_responses_raises():
        with pytest.raises(FastAPIError):
            app = FastAPI()
    
            @app.get("/", responses={"500": {"model": List[NonPydanticModel]}})
            def read_root():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 29 13:04:35 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. tests/delete_test.go

    		if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
    			t.Errorf("user's %v expects: %v, got %v", key, value, count)
    		}
    	}
    
    	for key, value := range map[string]int64{"Account": 0, "Pets": 0, "Toys": 0, "Company": 1, "Manager": 1, "Team": 0, "Languages": 0, "Friends": 0} {
    		if count := DB.Model(&user).Association(key).Count(); count != value {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
Back to top