File tree 3 files changed +15
-4
lines changed
3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## v1.1.3 2022-05-01
2
+
3
+ - fix: Find globalns for the unwrapped func
4
+ - [ #19 ] ( https://github.com/luolingchun/flask-openapi3/issues/19 ) fix: Trailing slash in APIBlueprint. Thinks @ev-agelos
5
+ - add description for UnprocessableEntity
6
+ - remove printouts in ` __init__.py `
7
+
1
8
## v1.1.2 2022-04-01
2
9
3
10
- [ #16 ] ( https://github.com/luolingchun/flask-openapi3/issues/16 ) Fix fileStorage list is not supported. Thanks @tekrei
Original file line number Diff line number Diff line change 2
2
# @Author : llc
3
3
# @Time : 2022/4/30 9:20
4
4
5
- __version__ = '1.1.2 '
5
+ __version__ = '1.1.3 '
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
# @Author : llc
3
3
# @Time : 2021/4/28 11:03
4
+ import os
5
+ import re
4
6
5
7
from setuptools import setup , find_packages
6
8
7
- from flask_openapi3 import __version__
8
-
9
9
long_description = open ('README.md' , 'r' , encoding = 'utf-8' ).read ()
10
10
11
+ version_file = os .path .join (os .path .dirname (__file__ ), 'flask_openapi3' , '__version__.py' )
12
+ with open (version_file , 'r' , encoding = 'utf-8' ) as f :
13
+ version = re .findall (r"__version__ = '(.*?)'" , f .read ())[0 ]
14
+
11
15
setup (
12
16
name = "flask-openapi3" ,
13
- version = __version__ ,
17
+ version = version ,
14
18
url = 'https://github.com/luolingchun/flask-openapi3' ,
15
19
description = 'Generate REST API and OpenAPI documentation for your Flask project.' ,
16
20
long_description = long_description ,
You can’t perform that action at this time.
0 commit comments