Class OpenApiConfigService

Constructors

Properties

defaultServerIndex: number = OpenApiConfigService.DefaultServerIndex
Config: null | Document<{}> = null
DefaultServerIndex: number = 0

Accessors

Methods

  • Used to load the app open api config from a remote resource.

    Promise.all([ OpenApiDataSourceLoader.Load() ]) .then(() => platformBrowserDynamic().bootstrapModule(AppModule)) .catch(err => console.error(err))

    Parameters

    • openApiUrl: string = 'openapi.json'

    Returns Promise<void>