rog-codegen

command module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

rog-codegen

rog-codegen turns OpenAPI 3.0 specs into Ruby on Rails code, cutting down on boilerplate so you can focus on your business logic and adding real value to your organization.

Installation

rog-codegen requires Go >= 1.20.

You can install rog-codegen as a binary:

$ go install github.com/trungvitlonx/rog-codegen@latest

Usage

rog-codegen is largely configured using a YAML configuration file, to simplify the number of flags that users need to remember.

This will create a YAML configuration file (.rog.yaml) and a sample of OpenAPI 3.0 specification file (openapi.yaml):

$ rog-codegen init

Then, to generate the code:

$ rog-codegen generate

By default, you will find the generated code at ./gen.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL