mirror of
https://github.com/openai/codex.git
synced 2026-05-23 20:44:50 +00:00
codex: wrap app-server attestation transport
This commit is contained in:
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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, };
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user