Skip to content

Commit

Permalink
Add missed definitions of Contract not found response in swagger (#4297)
Browse files Browse the repository at this point in the history
Co-authored-by: Denis Davidyuk <denis_davidyuk@hotmail.com>
  • Loading branch information
ThomasArts and davidyuk committed Mar 12, 2024
1 parent ed27ede commit ba50445
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/aehttp/priv/oas3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -727,6 +727,10 @@ paths:
$ref: "#/components/schemas/Error"
"404":
description: Contract not found
content:
application/json:
schema:
$ref: "#/components/schemas/Error"
"/contracts/{pubkey}/code":
get:
tags:
Expand Down
2 changes: 2 additions & 0 deletions apps/aehttp/priv/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ paths:
$ref: '#/definitions/Error'
'404':
description: 'Contract not found'
schema:
$ref: '#/definitions/Error'
/contracts/{pubkey}/code:
get:
tags:
Expand Down

0 comments on commit ba50445

Please sign in to comment.