Customize OpenAPI Generator with Mustache template
The OpenAPI Generator tool can help us generating API clients from the OpenAPI Spec. But what if we want to add some modification? Enter the Mustache template.
About technology stuff that piqued my interest
The OpenAPI Generator tool can help us generating API clients from the OpenAPI Spec. But what if we want to add some modification? Enter the Mustache template.
OpenAPI Generator giúp ta sinh code cho API client mà chỉ dựa vào file OpenAPI Spec. Và khi ta cần tùy biến client đó, ta có thể sử dụng Mustache template.
I used to write all API client code myself. Then I took an OpenAPI Generator to the knee. The works that used to take day can now be done in seconds.
Việc tự mình viết code để gọi API tiêu tốn tương đối nhiều thời gian. Với OpenAPI Generator, ta có thể tự động hóa công việc không mấy thú vị này.
Có lẽ nhiều người cho rằng việc đọc file CSV là vấn đề đơn giản. Tuy nhiên khi tìm hiểu sâu ta sẽ thấy là format CSV có rất nhiều điểm tréo ngoe.
Write code to read CSV files does not seem like a difficult task. Then you learn of all those caveats of the CSV format.
In Redis, there is no concept of sliding expiration. If so, how did StackExchangeRedis implement this feature? Let’s find out here.
Trong Redis không tồn tại khái niệm sliding expiration. Vậy StackExchangeRedis đã implement tính năng đó như thế nào? Cùng tìm hiểu tại đây.
The third article in a series about Redis-based distributed caching. We will see how Redis can help us exchange data between a Python and a C# .NET application.
Bài thứ 3 trong loạt bài về Redis. Chúng ta sẽ tìm hiểu cách dùng Redis làm trung gian để trao đổi dữ liệu giữa ứng dụng Python và C# .NET.