- Sort Score
 - Result 10 results
 - Languages All
 
Results 231 - 240 of 647 for model (0.01 sec)
- 
				
				
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 Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 16:29:26 UTC 2024 - 8.1K bytes - Viewed (0) - 
				
				
tests/update_has_one_test.go
CheckPet(t, pet4, pet) }) t.Run("Restriction", func(t *testing.T) { type CustomizeAccount struct { gorm.Model UserID sql.NullInt64 Number string `gorm:"<-:create"` Number2 string } type CustomizeUser struct { gorm.Model Name string Account CustomizeAccount `gorm:"foreignkey:UserID"` } DB.Migrator().DropTable(&CustomizeUser{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) - 
				
				
api/maven-api-plugin/src/main/mdo/lifecycle.mdo
"AS IS" BASIS, 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. --> <model xmlns="http://codehaus-plexus.github.io/MODELLO/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://codehaus-plexus.github.io/MODELLO/2.0.0 https://codehaus-plexus.github.io/modello/xsd/modello-2.0.0.xsd"
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sun May 18 09:15:56 UTC 2025 - 5.6K bytes - Viewed (0) - 
				
				
apache-maven/README.txt
Apache Maven What is it? ----------- Maven is a software project management and comprehension tool. Based on the concept of a Project Object Model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. Documentation ------------- The most up-to-date documentation can be found at https://maven.apache.org/. Release Notes -------------Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Aug 12 21:54:56 UTC 2024 - 1.2K bytes - Viewed (0) - 
				
				
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java
* KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Profile; /** * DetectedProfileActivator */ @Deprecated public abstract class DetectedProfileActivator implements ProfileActivator { @Override public boolean canDetermineActivation(Profile profile) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.2K bytes - Viewed (0) - 
				
				
api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java
* * <h2>Default values</h2> * The properties in this interface are defined in the {@code <Source>} element of the * {@linkplain org.apache.maven.api.model.Model Maven project descriptor}. * For each property, the default value is either empty or documented in the project descriptor. */ public interface SourceRoot { /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jun 26 07:56:58 UTC 2025 - 6.5K 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 Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) - 
				
				
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java
* - Downloaded artifacts */ PERSISTENT, /** * Data should be retained for the duration of the current Maven session. * Suitable for: * - Build-wide configuration * - Project model caching * - Inter-module metadata */ SESSION_SCOPED, /** * Data should only be retained for the current build request. * Suitable for: * - Plugin execution resultsRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 1.9K bytes - Viewed (0) - 
				
				
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfileManager.java
* under the License. */ package org.apache.maven.profiles; import java.util.List; import java.util.Map; import java.util.Properties; import org.apache.maven.model.Profile; import org.apache.maven.profiles.activation.ProfileActivationException; /** * ProfileManager */ @Deprecated public interface ProfileManager { void addProfile(Profile profile);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) - 
				
				
.idea/scopes/Gradle_public_API.xml
</component>...
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 18 15:08:47 UTC 2024 - 1.5K bytes - Viewed (0)