Show HN: Spec4j makes your REST APIs YAMLless

(github.com)

3 points | by enismustafaj 5 hours ago ago

3 comments

  • nur-rfz 5 hours 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 4 hours 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 5 hours 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.