[@rxap/open-api](../wiki/globals) / OpenApiInitOptions

# Interface: OpenApiInitOptions

Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/open-api/src/lib/open-api-init.ts#L6)

## Properties

### load?

> `optional` **load**: `boolean` \| \{ `openApiUrl`: `string`; \}

Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/open-api/src/lib/open-api-init.ts#L11)

true - load the open api config file from the default url
default url: openapi.json

***

### origin?

> `optional` **origin**: `string`

Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/open-api/src/lib/open-api-init.ts#L17)

The location origin prefix for the open api base urls if the base url is not absolute. defaults to location.origin
