Skip to content

Commit 49b1f4f

Browse files
committed
release 2.1.0-rc.2
1 parent f5882a6 commit 49b1f4f

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

changelog.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

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

5+
## [2.1.0-rc.2]
6+
7+
### Correções
8+
9+
- corrigido array _required_ de CobSolicitada [#100](https://github.com/bacen/pix-api/issues/100)
10+
511
## [2.1.0-rc.1]
612

713
### Correções

openapi.yaml

+17-23
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ paths:
150150
- name: "locationPresente"
151151
in: "query"
152152
schema:
153-
type: "string"
154-
format: "boolean"
153+
type: "boolean"
155154
- name: "status"
156155
in: "query"
157156
schema:
@@ -240,8 +239,7 @@ paths:
240239
- name: "txIdPresente"
241240
in: "query"
242241
schema:
243-
type: "string"
244-
format: "boolean"
242+
type: "boolean"
245243
- $ref: "#/components/parameters/paginaAtual"
246244
- $ref: "#/components/parameters/itensPorPagina"
247245
tags:
@@ -354,8 +352,7 @@ paths:
354352
- name: "txIdPresente"
355353
in: "query"
356354
schema:
357-
type: "string"
358-
format: "boolean"
355+
type: "boolean"
359356
- name: "cpf"
360357
in: "query"
361358
schema:
@@ -882,9 +879,10 @@ components:
882879
inicio: "2020-04-01T00:00:00Z"
883880
fim: "2020-04-01T23:59:59Z"
884881
paginacao:
885-
pagina: 0
886-
tamanho: 100
887-
quantidade: 3
882+
paginaAtual: 0
883+
itensPorPagina: 100
884+
quantidadeDePaginas: 1
885+
quantidadeTotalDeItens: 3
888886
loc:
889887
- allOf:
890888
- $ref: '#/components/examples/payloadLocationResponse1/value'
@@ -1257,7 +1255,7 @@ components:
12571255
type: "object"
12581256
title: "Cobrança Solicitada"
12591257
description: "Dados enviados para criação ou alteração da cobrança via API Pix"
1260-
required: ["valor", "chave", "calendario", "expiracao", "dataDeVencimento"]
1258+
required: ["valor", "chave", "calendario"]
12611259
allOf:
12621260
- type: "object"
12631261
properties:
@@ -1297,8 +1295,8 @@ components:
12971295
type: "string"
12981296
title: "Status da Cobrança"
12991297
enum:
1300-
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
1301-
- $ref: "#/components/schemas/CobBase"
1298+
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
1299+
- $ref: "#/components/schemas/CobBase"
13021300
CobGerada:
13031301
type: "object"
13041302
title: "Cobrança Gerada"
@@ -1338,12 +1336,11 @@ components:
13381336
- $ref: "#/components/schemas/CobBase"
13391337
CobCompleta:
13401338
title: "Cobrança Completa"
1339+
required: ["status"]
13411340
allOf:
13421341
- $ref: "#/components/schemas/CobGerada"
13431342
- $ref: "#/components/schemas/CobSolicitada"
13441343
- type: "object"
1345-
title: "Cob"
1346-
required: ["status"]
13471344
properties:
13481345
pix:
13491346
type: "array"
@@ -1358,8 +1355,8 @@ components:
13581355
enum:
13591356
- "ATIVA"
13601357
- "CONCLUIDA"
1361-
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
1362-
- "REMOVIDO_PELO_PSP"
1358+
- "REMOVIDO_PELO_USUARIO_RECEBEDOR"
1359+
- "REMOVIDO_PELO_PSP"
13631360
CobPayload:
13641361
type: "object"
13651362
title: "Payload JSON da cobrança"
@@ -1453,8 +1450,7 @@ components:
14531450
pattern: "/^\\d{14}$/"
14541451
description: "Filtro pelo CNPJ do devedor. Não pode ser utilizado ao mesmo tempo que o CPF."
14551452
locationPresente:
1456-
type: "string"
1457-
format: "boolean"
1453+
type: "boolean"
14581454
description: "Filtro pela existência de location vinculada."
14591455
status:
14601456
type: "string"
@@ -1574,8 +1570,7 @@ components:
15741570
description: "Data de fim utilizada na consulta. Respeita RFC 3339."
15751571
example: "2020-04-01T17:00:00Z"
15761572
txIdPresente:
1577-
type: "string"
1578-
format: "boolean"
1573+
type: "boolean"
15791574
description: "Filtro pela existência de txid."
15801575
paginacao:
15811576
$ref: "#/components/schemas/Paginacao"
@@ -1595,7 +1590,7 @@ components:
15951590
ParametrosConsultaPix:
15961591
type: "object"
15971592
title: "Parâmetros de Consulta Pix"
1598-
description: "Parâmetros utilizados para a realização de uma consulta de cobranças."
1593+
description: "Parâmetros utilizados para a realização de uma consulta de Pix."
15991594
required: ["inicio", "fim", "paginacao"]
16001595
properties:
16011596
inicio:
@@ -1613,8 +1608,7 @@ components:
16131608
txid:
16141609
$ref: "#/components/schemas/TxId"
16151610
txIdPresente:
1616-
type: "string"
1617-
format: "boolean"
1611+
type: "boolean"
16181612
description: "Filtro pela existência de txid."
16191613
paginacao:
16201614
$ref: "#/components/schemas/Paginacao"

0 commit comments

Comments
 (0)