Friends Of AdonisFriends Of Adonis

Introduction

Generate OpenAPI compliant specifications powered by openapi-metadata for you Adonis Application.

import {  } from '@foadonis/openapi/decorators'
 
export default class  {
  @()
  declare : number
 
  @()
  declare : string
 
  @({ : false, :  })
  declare ?: string
}
OpenAPI documentation with Scalar

Features

OpenAPI V3 specifications
✔ Fully typesafe
✔ Automatically infer types
✔ Automatically loads your controller from Adonis Router
✔ Supports Scalar, Swagger UI and Rapidoc
✔ Supports schema generation from Luxon and VineJS

On this page