Skip to content

Commit

Permalink
docs: fix inconsistent account id naming in openapi (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
vatanasov authored Sep 9, 2024
1 parent f76137e commit 2d9af64
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/swagger_v3/activities.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ schemas:
- type
- payload
paths:
/accounts/{id}/activities:
/accounts/{accountId}/activities:
get:
deprecated: false
description: Get an account activities.
operationId: GetAccountActivities
parameters:
- name: id
- name: accountId
in: path
description: The account address
required: true
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger_v3/dex.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/accounts/{account_id}/dex/swaps:
/accounts/{accountId}/dex/swaps:
get:
deprecated: false
description: Get DEX swap tokens
operationId: GetAccountDexSwaps
parameters:
- $ref: '#/components/parameters/DirectionParam'
- in: path
name: account_id
name: accountId
required: true
description: The account id
schema:
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger_v3/names.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,13 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/NotFoundResponse'
/accounts/{id}/names/pointees:
/accounts/{accountId}/names/pointees:
get:
deprecated: false
description: Get account pointees
operationId: GetAccountPointees
parameters:
- name: id
- name: accountId
in: path
description: The account that names point to
required: true
Expand Down
4 changes: 2 additions & 2 deletions docs/swagger_v3/transactions.spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,15 @@ paths:
description: The transactions count
example: 15479090
type: integer
/accounts/{id}/transactions/count:
/accounts/{accountId}/transactions/count:
get:
deprecated: false
description: Get transactions count and its type for given aeternity ID.
operationId: GetAccountTransactionsCount
parameters:
- description: The ID of the address/name/oracle/etc
in: path
name: id
name: accountId
required: true
schema:
$ref: '#/components/schemas/AccountAddress'
Expand Down

0 comments on commit 2d9af64

Please sign in to comment.