Skip to content

T-333 - Definir o contrato do painel de operações e do resumo do dossiê do auditor - #421

Merged
pedro-fs-garcia merged 2 commits into
developfrom
feature/t-333-contrato-painel-operacoes-dossie
Nov 12, 2026
Merged

pedro-fs-garcia merged 2 commits into
developfrom
feature/t-333-contrato-painel-operacoes-dossie

Conversation

@WesleyGoncalves

Copy link
Copy Markdown
Contributor

O que muda

  • contracts/http/openapi.yaml: três rotas novas de leitura, exclusivas do auditor, com schemas e exemplos:
    • GET /auditoria/eventos
    • GET /auditoria/eventos/filtros
    • GET /auditoria/jobs/{id}/resumo
  • docs/decisoes/dec-087.md: as três rotas na matriz HTTP.

Compatibilidade

Só rotas novas. Nenhuma rota ou schema existente muda. A única linha existente alterada é a contagem de consultas de auditoria na descrição da API.

  • Produtor: api (T-334 e T-335)
  • Consumidor: frontend (T-337 e T-338)

Verificação

  • python contracts/validar-exemplos.py: 69 exemplos contra 29 esquemas, OpenAPI 3.1 válida, 103 exemplos HTTP validados.
  • git diff --check: sem problemas.

A implementação na api e no frontend está fora do escopo desta tarefa.

Relates to #414

🤖 Generated with Claude Code

…o auditor

Acrescenta GET /auditoria/eventos, GET /auditoria/eventos/filtros e
GET /auditoria/jobs/{id}/resumo, com schemas e exemplos válidos.

Relates to #414
Copilot AI balanced review requested due to automatic review settings November 11, 2026 12:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@pedro-fs-garcia
pedro-fs-garcia merged commit 0771ae4 into develop Nov 12, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants