How do you manage microservices API versions and branching strategies?

This page summarizes the projects mentioned and recommended in the original post on /r/devops

WorkOS - The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • Schemathesis

    Automate your API Testing: catch crashes, validate specs, and save time

  • Keep all API versions in the code Another strategy is to have all the different API versions in the same code. So you may have a folder structure that looks like this: api ├── v1 └── v2 Within the API folder, you have one folder for v1 and another one for v2. Each folder has its own schemas and routes as required by the API version they implement. If you use URL-based versioning, v1 is accessible through the example.com/v1 endpoint or the v1.example.com subdomain (whichever strategy you use), and same for v2. Deprecating a version is a simple as its corresponding folder. In any case, I'd recommend you also validate your API implementations in the CI using something like schemathesis. Schemathesis looks at the API documentation and automatically generates hundreds of tests to make sure you're using the right schemas, status codes, and so on. It works best if you design and document the API before implementing, which allows you to include OpenAPI links and other features.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Auto-generate load tests/synthetic test data from OpenAPI spec/HAR file

    1 project | news.ycombinator.com | 18 Jan 2024
  • Show HN: Open API and GraphQL Fuzzing via GitHub Actions

    1 project | news.ycombinator.com | 22 Jul 2022
  • How to test graphql via end to end with a web application framework?

    1 project | /r/graphql | 10 Jun 2022
  • Generating arbitrary queries for a GraphQL schema

    2 projects | /r/graphql | 2 May 2022
  • Ask HN: Any Good Fuzzer for gRPC?

    3 projects | news.ycombinator.com | 21 Mar 2024