Login
You're viewing the ruby.social public feed.
  • Nov 9, 2026, 11:13 PM

    @xgebi @janl Why would swagger be out of date? It's usually built from the models themselves, that's the point isn't it?

    💬 1🔄 0⭐ 0

Replies

  • 💬 1🔄 0⭐ 0
  • Nov 10, 2026, 8:13 AM

    @xgebi @janl That sounds like the team is just bad at making decisions.

    Using swagger is a decision to make openapi.yaml your authoritative source of truth for the API schema. If you choose to manually update it you have decided to move the test for correctness of that truth to some other place, be it team communication, a test or a CI pipeline job.

    None of that is an argument for graphql which just pushes the same issues down to the db schema instead.

    💬 1🔄 0⭐ 0
  • Nov 10, 2026, 8:51 AM

    @bbuk I’m fully aware that it’s not the best practice 🙃 I’m aware of the communication dysfunctions. At the same time I’m not arguing for GraphQL.

    I’m arguing for Death Glares toward backend devs who don’t keep their swaggers up to date 😈

    💬 1🔄 0⭐ 1
  • 💬 0🔄 0⭐ 1