networknt / networknt/light-bot

add a new task to generate code and test the generated app

Open
#61 0 comments 0 reactions 1 assignee View on GitHub

@ddobrin is already working on this.

Since Feb 28, 2019.

enhancement help wanted
Dominant language
Java
Stars
8
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Recently, we have made some enhancements to the light-codegen to resolve some issues and add new features. As a lot of our customers are using the tool to migrate to new light-4j releases, they found some regenerated models are not the same and existing code needs to to be updated to work with the new model classes.

The current light-codegen only has unit tests and it won't cover all use cases from our customers, in order to ensure that any update won't break customers code generation, we are going to add a new task in light-bot to call the light-codegen. Once the app is generated, we can test it against the example response defined in the specs.

Once this is done, we will encourage our users to submit their specs here and update the tests to ensure that their specifications won't be broken with new changes. For users who have internal API and don't want to reveal the specs, it is recommended to submit a stripped down version instead.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.