Skip to content

TypeSchema Code Generator

Actions
This action can automatically generate code based on a TypeSchema specification
v0.1.5
Latest
Star (1)

TypeSchema Code Generator

This action can automatically generate code based on a TypeSchema specification.

Inputs

format

Required The target language, possible values are: csharp, go, java, php, python, ruby, rust, typescript or visualbasic.

config

The generator config where you can configure a namespace for the generated code i.e. namespace=org.typeschema.generator for Java.

source

Required Location of the TypeSchema source, this can be either a local file at your repository or a remote source like an https:// url or a TypeHub source i.e. typehub://apioo:developer@1.0.1

output

Required The output directory where the generated files are placed. NOTE the action will delete all files from this directory before code generation to have a clean state and to remove files which are no longer needed.

Example usage

uses: apioo/typeschema-generator-action@v1
with:
  format: 'java'
  config: 'namespace=org.typeschema.generator'
  source: './typeschema.json'
  output: './output'

TypeSchema Code Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

This action can automatically generate code based on a TypeSchema specification
v0.1.5
Latest

TypeSchema Code Generator is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.