Middle+
Müşteri kimliği ile risk segment değerini döndüren bir API için basit bir OpenAPI spesifikasyonu örneği verebilir misin?
sobes.tech yapay zeka
AI'dan gelen yanıt
yaml openapi: 3.0.3 info: title: Risk Segment API version: 1.0.0 paths: /risk-segment/{clientId}: get: summary: Получить риск-сегмент по идентификатору клиента parameters: - name: clientId in: path required: true schema: type: string description: Идентификатор клиента responses: '200': description: Успешный ответ с риск-сегментом content: application/json: schema: type: object properties: clientId: type: string example: "12345" riskSegment: type: string example: "high" '404': description: Клиент не найден