set api version to swagger doc from configuration file