Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@goast/typescript
Advanced tools
Provides gOAst generators for generating TypeScript code from OpenAPI specifications.
gOAst stands for generative Open API specification transformer, a tool designed to transform OpenAPI specifications into various forms with flexibility and extensibility at its core.
For more Information, please visit the gOAst GitHub Repository.
The @goast/typescript
package provides generators for TypeScript code generation
from OpenAPI specifications.
import { OpenApiGenerator } from '@goast/core';
import { TypeScriptFetchClientsGenerator, TypeScriptModelsGenerator } from '@goast/typescript';
async function main() {
await new OpenApiGenerator({ outputDir: '.api' })
.useType(TypeScriptModelsGenerator)
.useType(TypeScriptFetchClientsGenerator)
.parseAndGenerateFromDir('.openapi');
}
main();
TypeScriptModelsGenerator
: Generates
TypeScript interfaces or types from schemas in the OpenAPI specification(s).TypeScriptFetchClientsGenerator
:
Generates Fetch clients for TypeScript from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.TypeScriptAngularServicesGenerator
:
Generates Angular services from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.TypeScriptEasyNetworkStubsGenerator
:
Generates easy-network-stub classes from paths in the OpenAPI
specification(s).
TypeScriptModelsGenerator
generator.TypeScriptK6ClientsGenerator
:
Generates k6 clients from paths in the OpenAPI specification(s).
TypeScriptModelsGenerator
generator.The API documentation can be found here.
FAQs
Provides gOAst generators for generating TypeScript code from OpenAPI specifications.
We found that @goast/typescript demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.