Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 435 for json (1.19 sec)

  1. docs/tr/docs/features.md

    * Otomatik olarak data modelinin <a href="http://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> ile beraber dokümante edilmesi (OpenAPI'n kendisi zaten JSON Schema'ya dayanıyor).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    // XferStats has transfer stats for replication
    type XferStats struct {
    	Curr    float64          `json:"currRate" msg:"cr"`
    	Avg     float64          `json:"avgRate" msg:"av"`
    	Peak    float64          `json:"peakRate" msg:"p"`
    	N       int64            `json:"n" msg:"n"`
    	measure *rateMeasurement `json:"-"`
    	sma     *SMA             `json:"-"`
    }
    
    // Clone returns a copy of XferStats
    func (rx *XferStats) Clone() *XferStats {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. docs/vi/docs/tutorial/first-steps.md

    Trong trường hợp đó, nó có nghĩa là các thuộc tính JSON và các kiểu dữ liệu họ có,...
    
    #### OpenAPI và JSON Schema
    
    OpenAPI định nghĩa một cấu trúc API cho API của bạn. Và cấu trúc đó bao gồm các dịnh nghĩa (or "schema") về dữ liệu được gửi đi và nhận về bởi API của bạn, sử dụng **JSON Schema**, một tiêu chuẩn cho cấu trúc dữ liệu JSON.
    
    #### Kiểm tra `openapi.json`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Sep 02 15:44:17 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/handling-errors.md

    Если клиент запросит `http://example.com/items/foo` (`item_id` `"foo"`), то он получит статус-код 200 и ответ в формате JSON:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    Но если клиент запросит `http://example.com/items/bar` (несуществующий `item_id` `"bar"`), то он получит статус-код 404 (ошибка "не найдено") и JSON-ответ в виде:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_bigger_applications/test_main.py

        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/first-steps.md

    #### `openapi.json` Dosyasına Göz At
    
    Ham OpenAPI şemasının nasıl göründüğünü merak ediyorsanız, FastAPI otomatik olarak tüm API'ınızın tanımlamalarını içeren bir JSON (şeması) oluşturur.
    
    Bu şemayı direkt olarak <a href="http://127.0.0.1:8000/openapi.json" class="external-link" target="_blank">http://127.0.0.1:8000/openapi.json</a> bağlantısından görüntüleyebilirsiniz.
    
    Aşağıdaki gibi başlayan bir JSON ile karşılaşacaksınız:
    
    ```JSON
    {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Feb 08 13:10:55 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio-go/v7/pkg/tags"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. tests/test_extra_routes.py

        assert response.json() == {"item_id": "foo"}
    
    
    def test_get_api_route_not_decorated():
        response = client.get("/items-not-decorated/foo")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": "foo"}
    
    
    def test_delete():
        response = client.request("DELETE", "/items/foo", json={"name": "Foo"})
        assert response.status_code == 200, response.text
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    	CreatedBefore *time.Time          `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV        `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV        `yaml:"metadata,omitempty" json:"metadata"`
    	Size          BatchJobSizeFilter  `yaml:"size" json:"size"`
    	Type          string              `yaml:"type" json:"type"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  10. docs/es/docs/tutorial/first-steps.md

    En ese caso haría referencia a los atributos del JSON, los tipos de datos que tiene, etc.
    
    #### OpenAPI y JSON Schema
    
    OpenAPI define un schema de API para tu API. Ese schema incluye definiciones (o "schemas") de los datos enviados y recibidos por tu API usando **JSON Schema**, el estándar para los schemas de datos en JSON.
    
    #### Revisa el `openapi.json`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top