Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1001 - 1010 of 1,724 for JSON (0.11 sec)

  1. docs/ja/docs/advanced/custom-response.md

    しかし、*path operationデコレータ* に、使いたい `Response` を宣言することもできます。
    
    *path operation関数* から返されるコンテンツは、その `Response` に含まれます。
    
    そしてもし、`Response` が、`JSONResponse` や `UJSONResponse` の場合のようにJSONメディアタイプ (`application/json`) ならば、データは *path operationデコレータ* に宣言したPydantic `response_model` により自動的に変換 (もしくはフィルタ) されます。
    
    /// note | "備考"
    
    メディアタイプを指定せずにレスポンスクラスを利用すると、FastAPIは何もコンテンツがないことを期待します。そのため、生成されるOpenAPIドキュメントにレスポンスフォーマットが記載されません。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. buildscripts/heal-manual.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    //
    
    package main
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"log"
    	"os"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    func main() {
    	// Note: YOUR-ACCESSKEYID, YOUR-SECRETACCESSKEY are
    	// dummy values, please replace them with original values.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 27 09:47:58 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

     */
    @CacheableTask
    abstract class AbstractAcceptedApiChangesMaintenanceTask : DefaultTask() {
    
        /**
         * A directory that contains jsons with accepted API changes.
         * Any json is a directory is considered to contain accepted API changes.
         */
        @get:InputDirectory
        @get:PathSensitive(PathSensitivity.RELATIVE)
        abstract val apiChangesDirectory: DirectoryProperty
    
        protected
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/en/docs/index.md

    * For `PUT` requests to `/items/{item_id}`, read the body as JSON:
        * Check that it has a required attribute `name` that should be a `str`.
        * Check that it has a required attribute `price` that has to be a `float`.
        * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present.
        * All this would also work for deeply nested JSON objects.
    * Convert from and to JSON automatically.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. docs/de/docs/index.md

    <small>* Schätzung auf Basis von Tests in einem internen Entwicklungsteam, das Produktionsanwendungen erstellt.</small>
    
    ## Sponsoren
    
    <!-- sponsors -->
    
    {% if sponsors %}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. docs/it/docs/index.md

    <small>* Stima basata sull'esito di test eseguiti su codice sorgente di applicazioni rilasciate in produzione da un team interno di sviluppatori.</small>
    
    ## Sponsor
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. docs/he/docs/index.md

        -   לאמת שהוא כולל את מאפיין החובה `name` שאמור להיות מטיפוס `str`.
        -   לאמת שהוא כולל את מאפיין החובה `price` שחייב להיות מטיפוס `float`.
        -   לבדוק האם הוא כולל את מאפיין הרשות `is_offer` שאמור להיות מטיפוס `bool`, אם הוא נמצא.
        -   כל זה יעבוד גם לאובייקט JSON מקונן.
    -   להמיר מ - JSON ול- JSON אוטומטית.
    -   לתעד הכל באמצעות OpenAPI, תיעוד שבו יוכלו להשתמש:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. docs_src/app_testing/test_main.py

    from fastapi.testclient import TestClient
    
    from .main import app
    
    client = TestClient(app)
    
    
    def test_read_main():
        response = client.get("/")
        assert response.status_code == 200
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 238 bytes
    - Viewed (0)
  9. docs/tr/docs/index.md

    <small>* ilgili kanılar, dahili geliştirme ekibinin geliştirdikleri ürünlere yaptıkları testlere dayanmaktadır.</small>
    
    ## Sponsorlar
    
    <!-- sponsors -->
    
    {% if sponsors %}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/request-forms-and-files.md

    /// warning | "Внимание"
    
    Вы можете объявить несколько параметров `File` и `Form` в операции *path*, но вы не можете также объявить поля `Body`, которые вы ожидаете получить в виде JSON, так как запрос будет иметь тело, закодированное с помощью `multipart/form-data` вместо `application/json`.
    
    Это не ограничение **Fast API**, это часть протокола HTTP.
    
    ///
    
    ## Резюме
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top