Crates.io | openai-schemars |
lib.rs | openai-schemars |
version | 0.1.0 |
created_at | 2025-08-12 07:39:45.890619+00 |
updated_at | 2025-08-12 07:39:45.890619+00 |
description | A Rust utility to generate JSON Schemas compatible with OpenAI's function calling API |
homepage | |
repository | https://github.com/sensorial-systems/openai-schemars |
max_upload_size | |
id | 1791551 |
size | 10,962 |
A Rust utility to generate JSON Schemas compatible with OpenAI's function calling API, using schemars and serde_json.
schemars::JsonSchema
type to a JSON Schema.format
, pattern
, etc.).oneOf
/allOf
with anyOf
.additionalProperties
to false
for all objects.