00d03656ef
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
531 B
TypeScript
28 lines
531 B
TypeScript
/* eslint-disable */
|
|
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
|
|
|
import { Injectable } from '@angular/core';
|
|
|
|
/**
|
|
* Provides the ApiConfiguration configuration object with a given root URL.
|
|
*/
|
|
export function provideApiConfiguration(rootUrl: string) {
|
|
var config = new ApiConfiguration();
|
|
config.rootUrl = rootUrl;
|
|
return {
|
|
provide: ApiConfiguration,
|
|
useValue: config
|
|
};
|
|
}
|
|
|
|
/**
|
|
* Global configuration
|
|
*/
|
|
@Injectable({
|
|
providedIn: 'root',
|
|
})
|
|
export class ApiConfiguration {
|
|
rootUrl: string = '';
|
|
}
|
|
|