npm

ng-openapi-gen

An OpenAPI 3.0 and 3.1 codegen for Angular 16+

版本 1已同步 1文件 25 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

推荐接入
安全分
100
最近扫描 2026-06-13
扫描覆盖
100%
25 / 25 文件
高危文件
0
0 条 critical
待复核
0
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 1.0.5
25 文件
25 JS / 0 CSS / 0 WASM
未发现阻断级风险
ng-openapi-gen/1.0.5/lib/globals.js
https://cdn.ptab.cn/cdn/ng-openapi-gen/1.0.5/lib/globals.js
当前版本 25 个文件,1 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

固定到 1.0.5,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

<script src="https://cdn.ptab.cn/cdn/ng-openapi-gen/1.0.5/lib/globals.js" integrity="sha256-F8p6YKLqGgR/oP+aAnUBSKs4nLi0Fai6Up8asSDoYbY=" crossorigin="anonymous"></script>
1版本
25文件
1.0.5最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
318 B
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/ng-openapi-gen/1.0.5/lib/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/ng-openapi-gen/1.0.5/lib/index.js" integrity="sha256-qLgviFXRDAV8V3n6HqtwU3+s3gCEOjBgyDckidMfD34=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/ng-openapi-gen/1.0.5/lib/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 1.0.5,展示 25 / 25 个文件。
ng-openapi-gen/1.0.5/lib/index.js
JS
318 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/cmd-args.js
JS
4.7 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/content.js
JS
541 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/enum-value.js
JS
1.1 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/gen-type.js
JS
2.9 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/gen-utils.js
JS
18.8 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/globals.js
JS
2.7 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/handlebars-manager.js
JS
2.7 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/importable.js
JS
115 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/imports.js
JS
3.0 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/logger.js
JS
851 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/model-index.js
JS
592 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/model.js
JS
7.3 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/ng-openapi-gen.js
JS
21.4 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/openapi-typings.js
JS
2.3 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/operation-variant.js
JS
5.2 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/operation.js
JS
12.7 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/options.js
JS
112 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/parameter.js
JS
1.2 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/property.js
JS
1.0 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/request-body.js
JS
546 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/response.js
JS
430 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/security.js
JS
891 B
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/service.js
JS
2.3 KB
SRI ready
未分级
0 请求
ng-openapi-gen/1.0.5/lib/templates.js
JS
2.5 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。