Re:OpenAPI Generator allows generation of API client librari...
by searchableguy on Sunday October 16, 2022 @03:37AM
(#33221880)
Not everyone starts out with this in mind though.
Many legacy codebase don't have an easy way to add schema and make code changes so you end up maintaining a separate file to avoid making changes in the codebase.
Re:OpenAPI Generator allows generation of API client librari...
by BerislavLopac on Monday October 17, 2022 @06:13AM
(#33231605)
> The same code you write to validate your request/response should automatically generate the OpenAPI see my comment here
Or even better the opposite: I have a mini-framework [0] which does the validation and routing based on an OpenAPI spec, so the devs can focus on writing the business logic.
The same code you write to validate your request/response should automatically generate the OpenAPI see my comment here:
https://news.ycombinator.com/item?id=33221395