Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 841 - 850 of 1,923 for json$ (0.02 seconds)

  1. docs/zh-hant/docs/how-to/extending-openapi.md

    有些情況你可能需要修改自動產生的 OpenAPI 結構(schema)。
    
    本章將示範如何做。
    
    ## 一般流程 { #the-normal-process }
    
    一般(預設)的流程如下。
    
    `FastAPI` 應用程式(實例)有一個 `.openapi()` 方法,會回傳 OpenAPI 結構。
    
    在建立應用物件時,會同時註冊一個 `/openapi.json`(或你在 `openapi_url` 設定的路徑)的路徑操作(path operation)。
    
    這個路徑只會回傳一個 JSON 回應,內容就是應用的 `.openapi()` 方法結果。
    
    預設情況下,`.openapi()` 會先檢查 `.openapi_schema` 屬性是否已有內容,有的話就直接回傳。
    
    若沒有,則會呼叫 `fastapi.openapi.utils.get_openapi` 這個工具函式來產生。
    
    `get_openapi()` 函式會接收以下參數:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. docs/ja/docs/alternatives.md

    しかし、TypeScriptのデータはJavaScriptへのコンパイル後には残されないため、バリデーション、シリアライゼーション、ドキュメント化を同時に定義するのに型に頼ることはできません。そのため、バリデーション、シリアライゼーション、スキーマの自動生成を行うためには、多くの場所でデコレータを追加する必要があり、非常に冗長になります。
    
    入れ子になったモデルをうまく扱えません。そのため、リクエストのJSONボディが内部フィールドを持つJSONオブジェクトで、それが順番にネストされたJSONオブジェクトになっている場合、適切にドキュメント化やバリデーションをすることができません。
    
    /// check | **FastAPI**へ与えたインスピレーション
    
    素晴らしいエディターの補助を得るために、Pythonの型ヒントを利用している点。
    
    強力な依存性注入の仕組みを持ち、コードの繰り返しを最小化する方法を見つけた点。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  3. docs/multi-user/admin/README.md

    Create new canned policy file `adminManageUser.json`. This policy enables admin user to
    manage other users.
    
    ```json
    cat > adminManageUser.json << EOF
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Action": [
            "admin:CreateUser",
            "admin:DeleteUser",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. docs/en/docs/how-to/configure-swagger-ui.md

    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    FastAPI converts the configurations to **JSON** to make them compatible with JavaScript, as that's what Swagger UI needs.
    
    ## Disable Syntax Highlighting { #disable-syntax-highlighting }
    
    For example, you could disable syntax highlighting in Swagger UI.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. internal/config/drive/drive.go

    		Value: "30s",
    	},
    }
    
    var configLk sync.RWMutex
    
    // Config represents the subnet related configuration
    type Config struct {
    	// MaxTimeout - maximum timeout for a drive operation
    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    func (c *Config) Update(updated Config) error {
    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(updated.MaxTimeout)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 3K bytes
    - Click Count (0)
  6. internal/config/identity/openid/providercfg.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package openid
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    
    	"github.com/minio/minio/internal/arn"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/identity/openid/provider"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

         */
        public enum SearchRequestType {
            /** Search request type. */
            SEARCH,
            /** Admin search request type. */
            ADMIN_SEARCH,
            /** JSON request type. */
            JSON,
            /** GSA request type. */
            GSA,
            /** Suggest request type. */
            SUGGEST;
        }
    
        /**
         * Returns the response fields.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  8. internal/store/queuestore_test.go

    package store
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"path/filepath"
    	"reflect"
    	"testing"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/valyala/bytebufferpool"
    )
    
    type TestItem struct {
    	Name     string `json:"Name"`
    	Property string `json:"property"`
    }
    
    var (
    	// TestDir
    	queueDir = filepath.Join(os.TempDir(), "minio_test")
    	// Sample test item.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. internal/s3select/sql/value.go

    type Value struct {
    	value any
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    // MarshalJSON provides json marshaling of values.
    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    		return b, nil
    	}
    	return json.Marshal(v.value)
    }
    
    // GetTypeString returns a string representation for vType
    func (v Value) GetTypeString() string {
    	switch v.value.(type) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  10. docs/sts/dex.yaml

    expiry:
      signingKeys: "3h"
      idTokens: "3h"
    
      # Options for controlling the logger.
      logger:
        level: "debug"
        format: "text" # can also be "json"
    
    # Default values shown below
    oauth2:
      # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
      responseTypes: [ "code", "token", "id_token" ] # also allowed are "token" and "id_token"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 15 11:55:55 GMT 2020
    - 2.7K bytes
    - Click Count (0)
Back to Top