All Downloads are FREE. Search and download functionalities are using the official Maven repository.

htmlDocs2.sample_dart.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

{{#allParams}}
final {{{dataType}}} {{{paramName}}} = new {{{dataType}}}(); // {{{dataType}}} | {{{unescapedDescription}}}
{{/allParams}}

try {
    final result = await api_instance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}});
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->{{{operationId}}}: $e\n');
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy