mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
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:
parent
1adf8ff6b6
commit
a97b761eda
9 changed files with 2787 additions and 73 deletions
12
mobile/openapi/test/asset_api_test.dart
generated
12
mobile/openapi/test/asset_api_test.dart
generated
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue