
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.