Add generated openapi docs to website (#1067)

* Add generated openapi docs to website

* Uppercase API link in navbar

* fix(docs): open api empty summary (#1069)

* feat(docs): Use /docs/api path for swagger docs

* Sync api version to be the same as the server

* Update version

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
bo0tzz 2022-12-08 04:57:34 +01:00 committed by GitHub
parent 1adf8ff6b6
commit a97b761eda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 2787 additions and 73 deletions

View file

@ -17,8 +17,6 @@ void main() {
// final instance = AssetApi();
group('tests for AssetApi', () {
//
//
// Check duplicated asset before uploading - for Web upload used
//
//Future<CheckDuplicateAssetResponseDto> checkDuplicateAsset(CheckDuplicateAssetDto checkDuplicateAssetDto) async
@ -26,8 +24,6 @@ void main() {
// TODO
});
//
//
// Checks if multiple assets exist on the server and returns all existing - used by background backup
//
//Future<CheckExistingAssetsResponseDto> checkExistingAssets(CheckExistingAssetsDto checkExistingAssetsDto) async
@ -50,8 +46,6 @@ void main() {
// TODO
});
//
//
// Get all AssetEntity belong to the user
//
//Future<List<AssetResponseDto>> getAllAssets({ String ifNoneMatch }) async
@ -59,8 +53,6 @@ void main() {
// TODO
});
//
//
// Get a single asset's information
//
//Future<AssetResponseDto> getAssetById(String assetId) async
@ -103,8 +95,6 @@ void main() {
// TODO
});
//
//
// Get all asset of a device that are in the database, ID only.
//
//Future<List<String>> getUserAssetsByDeviceId(String deviceId) async
@ -122,8 +112,6 @@ void main() {
// TODO
});
//
//
// Update an asset
//
//Future<AssetResponseDto> updateAsset(String assetId, UpdateAssetDto updateAssetDto) async