@loopback/docs
Version:
Documentation for LoopBack 4
33 lines (23 loc) • 813 B
Markdown
lang: en
title: 'API docs: rest.openapispecoptions.endpointmapping'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.openapispecoptions.endpointmapping.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [OpenApiSpecOptions](./rest.openapispecoptions.md) > [endpointMapping](./rest.openapispecoptions.endpointmapping.md)
## OpenApiSpecOptions.endpointMapping property
Mapping of urls to spec forms, by default:
```
{
'/openapi.json': {version: '3.0.0', format: 'json'},
'/openapi.yaml': {version: '3.0.0', format: 'yaml'},
}
```
<b>Signature:</b>
```typescript
endpointMapping?: {
[key: string]: OpenApiSpecForm;
};
```