Skip to content

Releases: JR-1991/generate-sdrdm-api

v3.1

Choose a tag to compare

@JR-1991 JR-1991 released this 04 Mar 22:15
8fe84db

What's Changed

  • Set default version to recent PyPI instead of main branch by @JR-1991 in #8

Full Changelog: v3...v3.1

v3

v3

Choose a tag to compare

@JR-1991 JR-1991 released this 18 Jan 10:42
3401359
  • Changed target branch from linking-refactor to main

Full Changelog: v2...v3

v2

v2

Choose a tag to compare

@JR-1991 JR-1991 released this 20 Nov 13:55

What's Changed

  • Fixes in default specifications path and example by @torogi94 in #5

New Contributors

Full Changelog: v1...v2

v1

v1

Choose a tag to compare

@JR-1991 JR-1991 released this 06 Nov 14:33

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"
    output_path: "./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 "linking-refactor" The sdRDM branch to be
used for the generated API.
library_name string true "unstable" 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 "./specifcations/" Path to the sdRDM schema.