Releases: firecatjs/fire-cat
Releases Β· firecatjs/fire-cat
relaese 2.3.2
- add global router middleware
- fixed bugs
release v2.1.0
- fixed some bugs
relaese 2.0.9 π
- optimized type import
- optimize routing
What's Changed
- release v2.0.8 by @Jon-Millent in #4
Full Changelog: 2.0.2...2.0.9
relaese 2.0.2 π²
Documentation Services
Enable document service
fireCatRouter.enableDocument()
Custom document service path
fireCatRouter.enableDocument('/document')
custom document description
fireCatRouter.enableDocument('/document', {
title: 'Interface Documentation',
description: 'This is the interface document',
date: '2022-05-20',
version: '1.0.0'
})
ApiDescription
ApiDescription(des: string)
Describe the request and render it into the final document
class MyController extends FireCatController {
@Post('hello')
@ApiDescription('This is a request')
hello(ctx: Context) {
ctx.body = "hello world"
}
}
relaese 2.0.1 π
Documentation Services
Enable document service
fireCatRouter.enableDocument()
Custom document service path
fireCatRouter.enableDocument('/document')
relaese 2.0.0 π₯³
Release v2 version
- Refactoring logic
- Prepare for subsequent documentation features
relaese 1.0.8 π»
change bug