{{#apiInfo}} {{#apis}} {{#operations}} import { InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; {{#imports}} import { {{classname}} } from '@/entities/models/{{classFilename}}.model'; {{/imports}} /** * {{classname}} Repository Contract * Generated from OpenAPI tag: {{classname}} */ export interface {{classname}}Repository { {{#operation}} /** * {{summary}} {{#notes}} * {{notes}} {{/notes}} {{#allParams}} * @param {{paramName}} {{description}} {{/allParams}} */ {{nickname}}({{#allParams}}{{paramName}}{{^required}}?{{/required}}: {{{dataType}}}{{^-last}}, {{/-last}}{{/allParams}}): Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}>; {{/operation}} } export const {{constantName}}_REPOSITORY = new InjectionToken<{{classname}}Repository>('{{constantName}}_REPOSITORY'); {{/operations}} {{/apis}} {{/apiInfo}}