Web Services API Versioning

前端 未结 5 1167
长情又很酷
长情又很酷 2020-12-31 01:34

I offer a small Web Services API to my clients which I plan to evolve over time. So I need some sort of versioning, but I can\'t find any information about how you do someth

5条回答
  •  心在旅途
    2020-12-31 02:11

    Add the "API version number" as parameter in all your API's then implement strategy pattern in your web service code where version number dictates what strategy to use.

提交回复
热议问题