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

handlebars.typescript-angular.apiInterface.mustache Maven / Gradle / Ivy

There is a newer version: 1.0.48
Show newest version
{{>licenseInfo}}

{{#useHttpClient}}
import { HttpHeaders }                                       from '@angular/common/http';
{{/useHttpClient}}
{{^useHttpClient}}
import { Headers }                                           from '@angular/http';
{{/useHttpClient}}

import { Observable }                                        from 'rxjs/Observable';


{{#imports}}
import { {{classname}} } from '../{{filename}}';
{{/imports}}


import { Configuration }                                     from '../configuration';

{{#operations}}

{{#description}}
    /**
    * {{&description}}
    */
{{/description}}
export interface {{classname}}Interface {
    defaultHeaders: {{#useHttpClient}}Http{{/useHttpClient}}Headers;
    configuration: Configuration;
    {{^useHttpClient}}[others: string]: any;{{/useHttpClient}}

{{#operation}}
    /**
    * {{summary}}
    * {{notes}}
    {{#allParams}}* @param {{paramName}} {{description}}
    {{/allParams}}*/
    {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}, {{/allParams}}extraHttpRequestParams?: any): Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}{}{{/returnType}}>;

{{/operation}}
}
{{/operations}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy