Show HN: Spec4j makes your REST APIs YAMLless

(github.com)

3 points | by enismustafaj 1 hour ago

2 comments

  • nur-rfz 1 hour ago
    what happens when someone changes definitions in a way that would break existing apps? can Spec4J catch that automatically before the new version gets released?
    • enismustafaj 1 hour ago
      If breaking changes are introduced to existing APIS, the action does not detect and notify the developer. It could be a useful addition to the action checks!
  • enismustafaj 1 hour ago
    spec4j is a github action that converts your REST API definitions in Spring Controller Interfaces packaged in jars. It utilizes the simplicity of the TypeSpec language to write TypeScript-like code and the power of OpenAPI tools to generate language and framework-specific code.