I am deploying a FastAPI application to docker and I'm pondering how to best manage the Semantic Versioning.
Since it is just an API, I would think that MAJOR.MINOR.PATCH could be determined by comparing the previous builds OpenAPI Spec to the current builds OpenAPI Spec. If the request or response interface has changed, then increment the version accordingly.
Is this something that would work and is there something that already provides this functionality? If not, what approaches are used today to auto manage Semantic Versioning?
Thanks!