You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We dropped the "Coins" category, now we have "NEAR" and "FT". We no longer have the endpoint to have all the available balances, the users have to have 2 requests, one for native NEAR balance, and one for FT balances.
I want to return such an endpoint back.
The hardest part here is to design the tags so that Swagger can show the endpoints in a logical way.
Ideally, I want to have nested tags with the following structure:
Balances:
FT:
...
NFT:
...
NEAR:
...
get_balances() <- new endpoint in the root of the tag
Transactions:
...
Now the tags are flat, it looks this way:
The text was updated successfully, but these errors were encountered:
We dropped the "Coins" category, now we have "NEAR" and "FT". We no longer have the endpoint to have all the available balances, the users have to have 2 requests, one for native NEAR balance, and one for FT balances.
I want to return such an endpoint back.
The hardest part here is to design the tags so that Swagger can show the endpoints in a logical way.
Ideally, I want to have nested tags with the following structure:
Now the tags are flat, it looks this way:
![Screenshot 2022-12-15 at 11 18 56](https://user-images.githubusercontent.com/11246099/207823517-ba35a550-6c87-45b2-8751-fd2c14a277df.png)
The text was updated successfully, but these errors were encountered: