Bump version to 1.2.0

This commit is contained in:
inexcode 2022-02-16 15:50:12 +03:00
parent 2235358827
commit f228db5b29
3 changed files with 4 additions and 5 deletions

View file

@ -68,7 +68,7 @@ def create_app(test_config=None):
def spec(): def spec():
if app.config["ENABLE_SWAGGER"] == "1": if app.config["ENABLE_SWAGGER"] == "1":
swag = swagger(app) swag = swagger(app)
swag["info"]["version"] = "1.1.1" swag["info"]["version"] = "1.2.0"
swag["info"]["title"] = "SelfPrivacy API" swag["info"]["title"] = "SelfPrivacy API"
swag["info"]["description"] = "SelfPrivacy API" swag["info"]["description"] = "SelfPrivacy API"
swag["securityDefinitions"] = { swag["securityDefinitions"] = {

View file

@ -1,7 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Unassigned views""" """Unassigned views"""
import subprocess from flask_restful import Resource
from flask_restful import Resource, reqparse
class ApiVersion(Resource): class ApiVersion(Resource):
@ -24,4 +23,4 @@ class ApiVersion(Resource):
401: 401:
description: Unauthorized description: Unauthorized
""" """
return {"version": "1.1.1"} return {"version": "1.2.0"}

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup( setup(
name="selfprivacy_api", name="selfprivacy_api",
version="1.1.1", version="1.2.0",
packages=find_packages(), packages=find_packages(),
scripts=[ scripts=[
"selfprivacy_api/app.py", "selfprivacy_api/app.py",