- Sort Score
- Num 10 results
- Language All
Results 571 - 580 of 1,156 for orjson (0.06 seconds)
-
docs/zh/docs/advanced/openapi-callbacks.md
``` 使用如下 JSON 请求体: ```JSON { "id": "2expen51ve", "customer": "Mr. Richie Rich", "total": "9999" } ``` 然后,您的 API 就会处理发票,并在某个点之后,发送回调请求至 `callback_url`(外部 API): ``` https://www.external.org/events/invoices/2expen51ve ``` JSON 请求体包含如下内容: ```JSON { "description": "Payment celebration", "paid": trueCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 6.5K bytes - Click Count (0) -
tests/test_request_body_parameters_media_type.py
): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): 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": { "/products": { "post": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.3K bytes - Click Count (0) -
fastapi/openapi/docs.py
<script> const ui = SwaggerUIBundle({{ url: '{openapi_url}', """ for key, value in current_swagger_ui_parameters.items(): html += f"{json.dumps(key)}: {json.dumps(jsonable_encoder(value))},\n" if oauth2_redirect_url: html += f"oauth2RedirectUrl: window.location.origin + '{oauth2_redirect_url}'," html += """ presets: [
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
response = client.get("/broken") assert response.status_code == 200 assert response.json() == {"message": "all good?"} def test_broken_return_finishes(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/sts/web-identity.go
type DiscoveryDoc struct { Issuer string `json:"issuer,omitempty"` AuthEndpoint string `json:"authorization_endpoint,omitempty"` TokenEndpoint string `json:"token_endpoint,omitempty"` UserInfoEndpoint string `json:"userinfo_endpoint,omitempty"` RevocationEndpoint string `json:"revocation_endpoint,omitempty"`Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 19 09:13:33 GMT 2023 - 7.8K bytes - Click Count (0) -
docs/es/docs/how-to/general.md
## Convertir cualquier Dato a Compatible con JSON { #convert-any-data-to-json-compatible } Para convertir cualquier dato a compatible con JSON, lee la documentación para [Tutorial - Codificador Compatible con JSON](../tutorial/encoder.md){.internal-link target=_blank}. ## Metadatos OpenAPI - Documentación { #openapi-metadata-docs }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/sts/client-grants.go
import ( "bytes" "context" "crypto/tls" "encoding/json" "flag" "fmt" "log" "net/http" "net/url" "strings" minio "github.com/minio/minio-go/v7" "github.com/minio/minio-go/v7/pkg/credentials" ) // JWTToken - parses the output from IDP id_token. type JWTToken struct { AccessToken string `json:"access_token"` Expiry int `json:"expires_in"` } var ( stsEndpoint string
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 3.3K bytes - Click Count (0) -
internal/config/browser/browser.go
// Config storage class configuration type Config struct { CSPPolicy string `json:"csp_policy"` HSTSSeconds int `json:"hsts_seconds"` HSTSIncludeSubdomains bool `json:"hsts_include_subdomains"` HSTSPreload bool `json:"hsts_preload"` ReferrerPolicy string `json:"referrer_policy"` } // Update Updates browser with new config func (browseCfg *Config) Update(newCfg Config) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 21 00:58:58 GMT 2024 - 5.9K bytes - Click Count (0) -
internal/config/identity/openid/provider/keycloak.go
package provider import ( "encoding/json" "errors" "fmt" "net/http" "net/url" "path" "strings" "sync" ) // Token - parses the output from IDP id_token. type Token struct { AccessToken string `json:"access_token"` Expiry int `json:"expires_in"` } // KeycloakProvider implements Provider interface for KeyCloak Identity Provider.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jul 14 18:12:07 GMT 2024 - 4.6K bytes - Click Count (0) -
tests/test_tutorial/test_dataclasses/test_tutorial003.py
return client def test_post_authors_item(client: TestClient): response = client.post( "/authors/foo/items/", json=[{"name": "Bar"}, {"name": "Baz", "description": "Drop the Baz"}], ) assert response.status_code == 200 assert response.json() == { "name": "foo", "items": [ {"name": "Bar", "description": None},
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 7.1K bytes - Click Count (0)