Installing
Enlace mounts as middleware in your app. Pick your framework:
- ASP.NET Core
- Express
- FastAPI
- NestJS
- Spring Boot
dotnet add package Enlace.AspNetCore
// Program.cs
builder.Services.AddEnlace();
// ...
app.UseEnlace(); // mounts at /enlace by default
If you're already running Swashbuckle conventionally, that's it — no
spec needed. See the ASP.NET Core adapter page
if it isn't found automatically.
npm install @get-enlace/express
import { enlace } from '@get-enlace/express';
app.use('/enlace', enlace({ spec: './openapi.json' }));
pip install enlace-fastapi
from fastapi import FastAPI
from enlace_fastapi import enlace
app = FastAPI()
app.include_router(enlace(spec="./openapi.json"), prefix="/enlace")
Unlike the other adapters, spec is always explicit here — see
the FastAPI adapter page for using
app.openapi()'s own generated document instead of a file.
npm install @get-enlace/nest
import { EnlaceModule } from '@get-enlace/nest';
@Module({ imports: [EnlaceModule.forRoot({ spec: './openapi.json' })] })
export class AppModule {}
<dependency>
<groupId>io.github.get-enlace</groupId>
<artifactId>enlace-spring-boot-starter</artifactId>
<version>0.0.1</version>
</dependency>
Nothing else to wire up — adding the dependency is enough for a project already running springdoc conventionally. See the Spring Boot adapter page for custom mount paths and spec resolution if it isn't found automatically.
spec is a file path, a URL, or an already-parsed OpenAPI 3.x object —
whatever's easiest to point at your API's own document.
Open the route you mounted it at (/enlace by default) and you'll see
every operation from your spec, ready to drag onto the canvas.
Next: try it against a sample API first, or jump straight to building a chain with your own.