codex: wrap app-server attestation transport

This commit is contained in:
Jiaming Zhang
2026-05-07 08:58:12 -07:00
parent 5fdd555edc
commit 8ee7bf6abc
8 changed files with 108 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"headerValue": {
"description": "Opaque upstream `x-oai-attestation` header value.",
"description": "Opaque client attestation payload to embed in the upstream header envelope.",
"type": "string"
}
},

View File

@@ -92,7 +92,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"headerValue": {
"description": "Opaque upstream `x-oai-attestation` header value.",
"description": "Opaque client attestation payload to embed in the upstream header envelope.",
"type": "string"
}
},

View File

@@ -4,6 +4,6 @@
export type AttestationGenerateResponse = {
/**
* Opaque upstream `x-oai-attestation` header value.
* Opaque client attestation payload to embed in the upstream header envelope.
*/
headerValue: string, };

View File

@@ -12,6 +12,6 @@ pub struct AttestationGenerateParams {}
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct AttestationGenerateResponse {
/// Opaque upstream `x-oai-attestation` header value.
/// Opaque client attestation payload to embed in the upstream header envelope.
pub header_value: String,
}