[kyb] add issuing_authority to document#483
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✱ Stainless preview builds for gridThis PR will update the cli csharp go kotlin openapi php python ruby typescript
|
Greptile SummaryThis PR adds an optional
Confidence Score: 5/5Safe to merge — additive-only, optional field added to both the request and response schemas with no breaking changes. The change is a straightforward, non-breaking addition of a single optional string field. Both source schemas and their generated bundles are in sync. The field is correctly omitted from No files require special attention.
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/documents/Document.yaml | Adds optional issuingAuthority field after documentNumber; correctly left out of required list. |
| openapi/components/schemas/documents/BaseDocumentRequest.yaml | Adds optional issuingAuthority field with matching description and example as Document.yaml. |
| openapi.yaml | Generated bundle updated with issuingAuthority in both BaseDocumentRequest and Document inline schemas — consistent with source changes. |
| mintlify/openapi.yaml | Mintlify-specific generated bundle updated identically to root openapi.yaml. |
Entity Relationship Diagram
%%{init: {'theme': 'neutral'}}%%
erDiagram
BaseDocumentRequest {
string file "binary, required"
string documentType "required ($ref)"
string side "optional (FRONT|BACK)"
string country "required (ISO 3166-1 alpha-2)"
string documentNumber "optional"
string issuingAuthority "optional (NEW)"
}
Document {
string id "required"
string documentHolder "required"
string documentType "required ($ref)"
string side "optional (FRONT|BACK)"
string country "required (ISO 3166-1 alpha-2)"
string documentNumber "optional"
string issuingAuthority "optional (NEW)"
string fileName "required"
datetime createdAt "required"
datetime updatedAt "optional"
}
BaseDocumentRequest ||--o{ Document : "submitted as / returned as"
Reviews (1): Last reviewed commit: "[kyb] add issuing_authority to document" | Re-trigger Greptile

closes https://lightspark.atlassian.net/browse/AT-4816