Gathering detailed insights and metrics for small-swagger-codegen
Gathering detailed insights and metrics for small-swagger-codegen
Gathering detailed insights and metrics for small-swagger-codegen
Gathering detailed insights and metrics for small-swagger-codegen
@griffins/small-swagger-codegen
A small version of swagger-codegen. Does fewer things with less code.
swagger-chunk
Build and maintain large swagger API documentation files from small manageable chunks. Output yaml or json format. Instal skeleton swagger-chunk & scripts via command line --init
A small version of swagger-codegen. Does fewer things with less code.
npm install small-swagger-codegen
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (49.35%)
Swift (18.51%)
Handlebars (18.17%)
Kotlin (13.18%)
Ruby (0.78%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
272 Commits
2 Forks
3 Watchers
14 Branches
9 Contributors
Updated on Oct 30, 2024
Latest Version
1.29.2
Package Id
small-swagger-codegen@1.29.2
Unpacked Size
219.94 kB
Size
47.46 kB
File Count
67
NPM Version
6.14.12
Node Version
10.24.1
Published on
May 03, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A small version of swagger-codegen. Does fewer things with less code. Supports Swift, Kotlin, and Javascript (using fetch/EventSource).
You can either pass parameters on the command line or a configuration file.
Command line example:
This will build a Javascript module named my-spec-js-client with a default export of MyApi using snake casing (as opposed to the default camel casing) for methods and parameters, and output to the default directory - client
(which can be overridden with --output=someotherdir
)
npx small-swagger-codegen --language=js --spec=./my-spec.json --name=MyApi --packageName=my-spec-js-client --snake
Configuration files can be useful when you want to generate a number of clients at the same time, such as in a native app.
{
"language": "swift",
"output": "./DevelopmentPods/Generated/",
"specs": {
"ApiOne": {
"spec": "./node_modules/api-one-spec/api-one-spec.json",
"className": "ApiOneAPI",
"basePath": "api1"
},
"OtherApi": {
"spec": "./node_modules/other-api-spec/other-api-spec.json",
"className": "OtherAPI",
"basePath": "other"
}
}
}
Which, if saved in a file called config.json
is run with
npx small-swagger-codegen ./config.json
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More