Bump version to 1.2.0

pull/9/head
Inex Code 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():
if app.config["ENABLE_SWAGGER"] == "1":
swag = swagger(app)
swag["info"]["version"] = "1.1.1"
swag["info"]["version"] = "1.2.0"
swag["info"]["title"] = "SelfPrivacy API"
swag["info"]["description"] = "SelfPrivacy API"
swag["securityDefinitions"] = {

View File

@ -1,7 +1,6 @@
#!/usr/bin/env python3
"""Unassigned views"""
import subprocess
from flask_restful import Resource, reqparse
from flask_restful import Resource
class ApiVersion(Resource):
@ -24,4 +23,4 @@ class ApiVersion(Resource):
401:
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(
name="selfprivacy_api",
version="1.1.1",
version="1.2.0",
packages=find_packages(),
scripts=[
"selfprivacy_api/app.py",