feat(codemode): project OpenAPI schema directions (#37361)
This commit is contained in:
parent
c7a7900ff2
commit
87d5b27668
5 changed files with 842 additions and 22 deletions
|
|
@ -108,7 +108,9 @@ const runtime = CodeMode.make({ tools: { opencode: api.tools } })
|
|||
|
||||
It is synchronous and returns `{ tools, skipped }`: operations with unsupported encodings, non-JSON bodies, binary
|
||||
responses, or streaming land in `skipped` instead of producing broken tools. Auth is resolved host-side and never
|
||||
model-visible; generated tools require `HttpClient.HttpClient` in the environment. See the option docstrings in
|
||||
model-visible; generated tools require `HttpClient.HttpClient` in the environment. `readOnly` properties are omitted
|
||||
from request signatures and `writeOnly` properties from response signatures. These JSON Schemas are model-facing, not
|
||||
runtime filters: nested value bodies and server responses pass through unchanged. See the option docstrings in
|
||||
`src/openapi/types.ts` for full semantics.
|
||||
|
||||
## Outputs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue