ResponseCard

Domain · API Doc

Tek bir API yanıtını katlanabilir kart içinde gösterir. Durum kodu rozeti, açıklama ve şema içerir.

200 OK response

Preview
200 Token issued

Schema rendered here

Code
<%- include('modules/domain/api-doc/ResponseCard', {
  response: {
    responseId: 'r-200',
    statusCode: '200',
    description: 'Token issued',
    content: { 'application/json': { schema: { type: 'object' } } }
  }
}) %>
Source modules/domain/api-doc/ResponseCard.ejs