Skip to content

Commit

Permalink
release 2.1.0-rc.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ninrod committed Oct 21, 2020
1 parent beb1fa5 commit 19b3b01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 72 deletions.
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Mudanças relevantes na API Pix serão documentadas aqui.

## [2.1.0-rc.4]

### Correções

- removido endpoint `DELETE /cob/{txid}/loc`, uma vez que o endpoint PATCH cobre a situação. [#108](https://github.com/bacen/pix-api/issues/108)

## [2.1.0-rc.3]

### Correções
Expand Down
72 changes: 0 additions & 72 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,31 +178,6 @@ paths:
$ref: "#/components/examples/getCobs1"
getCobs2:
$ref: "#/components/examples/getCobs2"
"/cob/{txid}/loc":
parameters:
- name: "txid"
in: "path"
required: true
schema:
$ref: "#/components/schemas/TxId"
delete:
tags:
- Cob
summary: "Desvincular uma location de uma cobrança."
description: |
Endpoint para desvinculo da location da cobrança.
security:
- OAuth2: [cob.write]
responses:
"200":
description: "Location desvinculada da cobrança."
content:
"application/json":
schema:
$ref: "#/components/schemas/CobLocDesvinculada"
examples:
retorno1:
$ref: "#/components/examples/cobResponse4"
"/loc":
post:
tags:
Expand Down Expand Up @@ -810,22 +785,6 @@ components:
original: "567.89"
chave: "a1f4102e-a446-4a57-bcce-6fa48899c1d1"
solicitacaoPagador: "Informar cartão fidelidade"
cobResponse4:
summary: "Exemplo de cobrança revisada 1"
value:
calendario:
criacao: "2020-09-09T20:15:00.358Z"
expiracao: "3600"
txid: "7978c0c97ea847e78e8849634473c1f1"
revisao: 1
status: "ATIVA"
devedor:
cnpj: "12345678000195"
nome: "Empresa de Serviços SA"
valor:
original: "567.89"
chave: "a1f4102e-a446-4a57-bcce-6fa48899c1d1"
solicitacaoPagador: "Informar cartão fidelidade"
getCobs1:
summary: "Exemplo de retorno da consulta de cobranças 1"
value:
Expand Down Expand Up @@ -1334,37 +1293,6 @@ components:
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
- "REMOVIDO_PELO_PSP"
- $ref: "#/components/schemas/CobBase"
CobLocDesvinculada:
type: "object"
title: "Cobrança Desvinculada da Location"
description: "Dados da cobrança via API Pix após a location desvinculada."
required: ["location", "txid", "calendario","revisao", "status","valor", "chave"]
allOf:
- type: "object"
properties:
calendario:
title: "Calendário"
description: "Os campos aninhados sob o identificador calendário organizam informações a respeito de controle de tempo da cobrança."
allOf:
- $ref: "#/components/schemas/CobCriacao"
oneOf:
- $ref: "#/components/schemas/CobExpiracao"
- $ref: "#/components/schemas/CobDataDeVencimento"
txid:
$ref: "#/components/schemas/TxId"
revisao:
$ref: "#/components/schemas/Revisao"
- type: "object"
properties:
status:
type: "string"
title: "Status da Cobrança"
enum:
- "ATIVA"
- "CONCLUIDA"
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
- "REMOVIDO_PELO_PSP"
- $ref: "#/components/schemas/CobBase"
CobCompleta:
title: "Cobrança Completa"
required: ["status"]
Expand Down

0 comments on commit 19b3b01

Please sign in to comment.