Merge "Minor fixes to microversion devref"

This commit is contained in:
Jenkins 2017-06-02 18:39:29 +00:00 committed by Gerrit Code Review
commit a0ab62b1e8

View File

@ -214,11 +214,11 @@ A method with only small changes between versions
A method may have only small changes between microversions, in which
case you can decorate a private method::
@api_version("3.1", "3.4")
@wsgi.Controller.api_version("3.1", "3.4")
def _version_specific_func(self, req, arg1):
pass
@api_version(min_ver="3.5") # noqa
@_version_specific_func.api_version(min_ver="3.5")
def _version_specific_func(self, req, arg1):
pass