Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,496 for examples (0.33 sec)

  1. docs_src/schema_extra_example/tutorial003_an.py

        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 721 bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

     *
     * All callback methods (will) follow beforeXXX/afterXXX naming pattern to
     * indicate at what lifecycle point it is being called.
     *
     * @see <a href="https://maven.apache.org/examples/maven-3-lifecycle-extensions.html">example</a>
     * @see <a href="https://issues.apache.org/jira/browse/MNG-4224">MNG-4224</a>
     * @since 3.0-alpha-3
     */
    public abstract class AbstractMavenLifecycleParticipant {
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  3. docs_src/schema_extra_example/tutorial003_an_py39.py

        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: int,
        item: Annotated[
            Item,
            Body(
                examples=[
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 692 bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

          println(response.body.string())
        }
      }
    
      companion object {
        /**
         * The imgur client ID for OkHttp recipes. If you're using imgur for anything other than running
         * these examples, please request your own client ID! https://api.imgur.com/oauth2
         */
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    }
    
    fun main() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. docs_src/schema_extra_example/tutorial004_py310.py

        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                },
                {
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jul 01 16:43:29 GMT 2023
    - 786 bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial001.py

    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
        model_config = {
            "json_schema_extra": {
                "examples": [
                    {
                        "name": "Foo",
                        "description": "A very nice Item",
                        "price": 35.4,
                        "tax": 3.2,
                    }
                ]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 684 bytes
    - Viewed (0)
  7. maven-core/src/test/resources/consumer/simple/pom.xml

      <artifactId>parent</artifactId>
      <version>0.9-${changelist}-SNAPSHOT</version>
      <packaging>pom</packaging>
      <name>Multi Chapter Parent Project</name>
    
      <!-- Optimized from https://github.com/sonatype/maven-example-en/tree/master/examples/ch-multi -->
      <modules>
        <module>simple-parent</module>
      </modules>
    XML
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Tue Nov 28 17:17:10 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial005_an_py39.py

    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                openapi_examples={
                    "normal": {
                        "summary": "A normal example",
                        "description": "A **normal** item works correctly.",
                        "value": {
                            "name": "Foo",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial005_py310.py

        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            openapi_examples={
                "normal": {
                    "summary": "A normal example",
                    "description": "A **normal** item works correctly.",
                    "value": {
                        "name": "Foo",
                        "description": "A very nice Item",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 26 18:03:13 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/README.md

    When configuring the chart, you should not include this.
    That is, `--set some.field=true` should be passed, not `--set defaults.some.field=true`.
    
    ### Examples
    
    #### Configuring mesh configuration settings
    
    Any [Mesh Config](https://istio.io/latest/docs/reference/config/istio.mesh.v1alpha1/) options can be configured like below:
    
    ```yaml
    meshConfig:
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 2K bytes
    - Viewed (0)
Back to top