Coder Social home page Coder Social logo

generate-sdrdm-api's Introduction

Software-driven RDM Python API Generator Action

Tests

This is a GitHub Action that generates Python API's from sdRDM markdown schemes and pushes them to the repository.

Note: If you want changes to be pushed to your repository, you need to grant action read and write access. This can be done in the settings/actions tab of your repository.

Usage

# Generates API and pushes it to the root of the repository
- name: Generate sdRDM library
  uses: JR-1991/generate-sdrdm-api@main
  with:
    library_name: "MyLibraryName"
    schema_path: "./path/to/schema"

# Generates API and pushes it to the specified directory
- name: Generate sdRDM library
  uses: JR-1991/generate-sdrdm-api@main
  with:
    library_name: "MyLibraryName"
    schema_path: "./path/to/schema"
    out_dir: "./other/dir"

# Generates API and does not push it to the repository
- name: Generate sdRDM library
  uses: JR-1991/generate-sdrdm-api@main
  with:
    library_name: "MyLibraryName"
    schema_path: "./path/to/schema"
    push: "false"

Inputs

INPUT TYPE REQUIRED DEFAULT DESCRIPTION
branch string true "main" The sdRDM branch to be
used for the generated API.
library_name string true The name of the library
to be generated.
out_dir string true "./" Target directory for the generated
API.
push string true "true" Push the generated API to
the specified branch.
schema string true "false" Generate the sdRDM schema.
schema_out_dir string true "./" Target directory for the generated
schema.
schema_path string true "./specifications/" Path to the sdRDM schema.

generate-sdrdm-api's People

Contributors

haeussma avatar jr-1991 avatar torogi94 avatar

Watchers

 avatar

Forkers

torogi94 haeussma

generate-sdrdm-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.