UNPKG
@foal/core
Version:
latest (5.0.1)
5.0.1
5.0.0
4.6.0
4.5.1
4.5.0
4.4.0
4.3.0
4.2.0
4.1.0
4.0.0
3.3.0
3.2.0
3.1.0
3.0.2
3.0.1
3.0.0
3.0.0-alpha.1
3.0.0-alpha.0
2.11.0
2.10.2
2.10.1
2.10.0
2.9.0
2.8.2
2.8.1
2.8.0
2.7.2
2.7.1
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
2.0.0-beta.3
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.0
1.12.2
1.12.1
1.12.0
1.11.2
1.11.1
1.11.0
1.9.0
1.8.1
1.8.0
1.7.1
1.7.0
1.6.0
1.5.0
1.3.1
1.3.0
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.3
0.8.1
0.8.0
0.7.7
0.7.3
0.7.2
0.7.0
0.6.2
0.6.1
0.6.0
0.6.0-beta.6
0.6.0-beta.5
0.6.0-beta.4
0.6.0-beta.3
0.6.0-beta.1
0.6.0-beta.0
0.6.0-alpha.4
0.6.0-alpha.3
0.6.0-alpha.2
0.6.0-alpha.1
0.5.0-alpha.2
0.5.0-alpha.1.0
0.4.0-beta.3
0.4.0-beta.1
0.4.0-beta.0
0.4.0-alpha.3
0.4.0-alpha.2
0.4.0-alpha.1.0
0.4.0-alpha.0
0.3.0
0.2.2
0.2.0
0.1.1
0.1.0
Full-featured Node.js framework, with no complexity
github.com/FoalTS
FoalTS/foal
@foal/core
/
lib
/
core
/
openapi
/
create-open-api-document.d.ts
5 lines
(4 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
import
{
Class
}
from
'../class.interface'
;
import
{
ServiceManager
}
from
'../service-manager'
;
import
{
IOpenAPI
}
from
'./interfaces'
;
export
declare
function
createOpenApiDocument
(
controllerClass: Class, serviceManager?: ServiceManager
):
IOpenAPI
;