feat(web,server): server features (#3756)

* feat: server features

* chore: open api

* icon size

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2023-08-18 00:55:26 -04:00
committed by GitHub
parent 28d3d3e679
commit 2b839088c7
40 changed files with 805 additions and 187 deletions

View File

@@ -0,0 +1,47 @@
//
// AUTO-GENERATED FILE, DO NOT MODIFY!
//
// @dart=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for ServerFeaturesDto
void main() {
// final instance = ServerFeaturesDto();
group('test ServerFeaturesDto', () {
// bool machineLearning
test('to test the property `machineLearning`', () async {
// TODO
});
// bool oauth
test('to test the property `oauth`', () async {
// TODO
});
// bool oauthAutoLaunch
test('to test the property `oauthAutoLaunch`', () async {
// TODO
});
// bool passwordLogin
test('to test the property `passwordLogin`', () async {
// TODO
});
// bool search
test('to test the property `search`', () async {
// TODO
});
});
}

View File

@@ -17,12 +17,17 @@ void main() {
// final instance = ServerInfoApi();
group('tests for ServerInfoApi', () {
//Future<ServerFeaturesDto> getServerFeatures() async
test('test getServerFeatures', () async {
// TODO
});
//Future<ServerInfoResponseDto> getServerInfo() async
test('test getServerInfo', () async {
// TODO
});
//Future<ServerVersionReponseDto> getServerVersion() async
//Future<ServerVersionResponseDto> getServerVersion() async
test('test getServerVersion', () async {
// TODO
});

View File

@@ -11,11 +11,11 @@
import 'package:openapi/api.dart';
import 'package:test/test.dart';
// tests for ServerVersionReponseDto
// tests for ServerVersionResponseDto
void main() {
// final instance = ServerVersionReponseDto();
// final instance = ServerVersionResponseDto();
group('test ServerVersionReponseDto', () {
group('test ServerVersionResponseDto', () {
// int major
test('to test the property `major`', () async {
// TODO