In this Article:
About Code Generation in RepreZen API Studio
RepreZen API Studio has over 75 code generation templates for Swagger-OpenAPI 2.0, ready to run.
Swagger-Codegen - The open-source Swagger-Codegen project is fully supported, with templates for API implementation scaffolding, client libraries, documentation and interchange formats.
NSwag - The popular open source NSwag generator for .NET, Web API and TypeScript is also supported. See the related topic on NSwag configuration to get started.
RepreZen GenTemplates are also provided, including:
- RepreZen Documentation - a Bootstrap-based HTML format
- RepreZen Diagram - A unique interactive API diagram
- Swagger-UI (v2 and v3) - fully configurable, self-contained Swagger-UI v2 and v3 web pages
Swagger-Normalizer - a versatile pre-processor that combines multi-file projects and external references into a single OpenAPI document, simplified for easy and reliable processing by downstream generators and API documentation formats. Learn more....
- Custom Code Generators - Create your own generators using Swagger-Codegen, or RepreZen's powerful, extensible code gen framework. Learn more....
API Studio also includes more limited set of code generators for OpenAPI 3.0 and RAPID-ML.
How do I see all of the available code generators?
With a Swagger specification open in the editor, click the New Generation Target... button on the toolbar, and drop-down the GenTemplate list to see the all of the available code generators:
Video: Generating Code in RepreZen API Studio
Supported Languages and Frameworks
Here's a partial listing of available generators:
C# Server for ASP.NET Web API 2.0 by NSwag
C# Client by NSwag
Schema and Interchange Formats:
RepreZen Swagger-Normalizer (JSON and YAML)