Skip to content

Commit

Permalink
Merge pull request #2457 from Sensedia/ORB-3667
Browse files Browse the repository at this point in the history
feat(Resources): ORB-3667 - PA06 - Incluir o response 202 no endpoint da API
  • Loading branch information
FelipeBaumgartel authored Sep 22, 2023
2 parents bd16185 + 138d81e commit dbbcd1d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions swagger-apis/resources/3.0.0-beta.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ paths:
responses:
'200':
$ref: '#/components/responses/OKResponseResourceList'
'202':
$ref: '#/components/responses/202ResponseResource'
'400':
$ref: '#/components/responses/BadRequest'
'401':
Expand Down Expand Up @@ -87,6 +89,12 @@ paths:
- 'consent:consentId'
- resources
components:
headers:
xFapiInteractionId:
description: |
A detentora deve obrigatoriamente retornar o campo com o mesmo valor recebido da iniciadora.
schema:
$ref: '#/components/schemas/XFapiInteractionId'
schemas:
ResponseResourceList:
type: object
Expand Down Expand Up @@ -366,6 +374,11 @@ components:
application/json:
schema:
$ref: '#/components/schemas/ResponseResourceList'
202ResponseResource:
description: Requisição foi recebida.
headers:
x-fapi-interaction-id:
$ref: '#/components/headers/xFapiInteractionId'
BadRequest:
description: 'A requisição foi malformada, omitindo atributos obrigatórios, seja no payload ou através de atributos na URL.'
content:
Expand Down

0 comments on commit dbbcd1d

Please sign in to comment.