Commit Graph

128 Commits

Author SHA1 Message Date
João Santos
e138c79280 Install typing only when needed 2017-06-07 13:54:20 +02:00
Rafael Carício
93c06711ed New style of passing options to Connexion (#436)
* Order classes by relevance in module

* Order definitions by relevance within module

* Swagger UI options extracted

* New style options

* Use new-style options

* Reuse code

* Sort imports

* Ignore typing imports

* Warn users about parameter name change

* Add back isort check

* Fix isort check
2017-04-11 16:47:21 +02:00
Rafael Carício
1858c9d4a0 Flask required only if necessary (#424)
* Example with Flask support

* Only show import error when trying to use Flask

* Re-organize imports

* Move flask_utils next to related module

* Code style

* Change back to incentivizes

* Includes Flask by default

* Project clean up

* Update Rafael Caricio's e-mail address

* Fix conflicts
2017-04-04 20:48:08 +02:00
Diogo Dutra
fb7f986337 did flask a optional dependency 2017-04-04 08:20:25 -03:00
Rafael Carício
711bbf08e7 Merge pull request #404 from Griffon26/master
Remove unnecessary dependency on strict-rfc3339
2017-03-21 10:56:20 +01:00
Maurice van der Pot
a6577f9912 Remove unnecessary dependency on GPL library strict-rfc3339
In order to validate date-time or uri formats jsonschema requires
strict-rfc3339 and rfc3987 to be installed, both of which are licensed
under the GPLv3. To avoid license ambiguity, it makes sense to not
depend on either of them for installation or testing of connexion.
2017-03-20 21:24:53 +01:00
Dan Ballance
702142ec48 Fixes #340 | Convert camelcased parameter names to Python style 2017-03-09 16:42:17 +00:00
Rafael Caricio
fa4604d81d Add blank line to pass flake8 check 2016-11-16 17:33:44 +01:00
Yoan Blanc
6b5107122e Using Requirements Builder for Tox setup
Requirements Builder provides a way to run tests against all interesting
versions of the requirements: minimal, latest as well as development
(from git, hg, svn).

It requires to move the requirements into the setup.py and to provide a
minimal version. requirements-devel aims at helping you working

* It detected a conflict with six version which had to be bumped up;
* building PyYAML from Subversion fails so it's commented in the
  requirement-devel.txt file.

A cool blog post on how to keep some balance between setup.py and
requirements.txt file:
https://caremad.io/posts/2013/07/setup-vs-requirement/
2016-10-18 14:45:16 +02:00
Rafael Caricio
dbe20e9a14 Remove cnx alias to CLI 2016-09-14 06:56:09 +02:00
Rafael Caricio
c74d8cdd3b Provide CLI support for runnning specifications 2016-09-12 18:28:14 +02:00
Jens Finkhaeuser
2d42fc6d95 - Not specifying tests as the test directory will lead to pytest
trying to run test code in dependencies installed in the project
  directory via `virtualenv`.
- `README.rst` is in utf-8 encoding; reading it fails on py34
2016-09-07 13:50:32 +02:00
Henning Jacobs
6fcc004369 #260 fix major/minor version comparison for non-numeric patchlevels 2016-09-01 12:34:30 +02:00
Russell Jurney
a4183dfcec Fixed setup.py to fix issue 260
See https://github.com/zalando/connexion/issues/260
2016-08-10 14:55:59 -07:00
Rafael Caricio
bf24e8fa8c Recommend usage of decorator 2016-02-15 17:33:03 +01:00
hjacobs
3d5af0c595 Swagger is now OpenAPI https://openapis.org/ 2016-01-22 22:16:03 +01:00
hjacobs
1826ddaee4 add Trove classifiers 2016-01-12 21:30:13 +01:00
João Santos
ead3c31663 #108 Use json schema for parameters 2015-12-10 15:51:37 +01:00
hjacobs
9eeddca24d pathlib2 != pathlib 2015-11-30 23:44:06 +01:00
hjacobs
3d98f44f68 fix worst bug ever 2015-11-30 23:42:02 +01:00
Henning Jacobs
38b1911352 move install_requires to requirements.txt (like all our Py projects) 2015-11-27 13:14:45 +01:00
Henning Jacobs
790a1dcb07 update classifiers: we are stable and support 3.5 2015-11-12 23:53:04 +01:00
Henning Jacobs
7bada6bf70 test_suite 2015-11-12 16:42:37 +01:00
Henning Jacobs
23dad97f8d add --cov-html= test options 2015-11-12 16:32:58 +01:00
Henning Jacobs
7d7128b625 unify release.sh across all Python projects 2015-11-11 14:42:55 +01:00
João Santos
fd556c71cb Bumped version to 0.13 2015-11-06 08:41:04 +01:00
Henning Jacobs
52171ce215 Bumped version to 0.12.1 2015-10-29 13:54:40 +01:00
João Santos
6fc4bb5c5a Fix some issues found by pylint 2015-10-29 10:03:08 +01:00
João Santos
8c1a407416 Bumped version to 0.12.0 2015-10-13 09:14:01 +02:00
João Santos
ea0215ee2d Bumped version to 0.11.3 2015-10-07 09:38:52 +02:00
João Santos
d097321011 Bumped version to 0.11.2 2015-10-02 09:14:37 +02:00
Henning Jacobs
28d6b935d0 Bumped version to 0.11.1 2015-09-28 18:16:36 +02:00
João Santos
14a1dcde42 Bumped version to 0.11 2015-09-23 08:19:11 +02:00
Henning Jacobs
6281107fa6 Bumped version to 0.10.2 2015-09-21 21:07:03 +02:00
Henning Jacobs
fdec5b090e Bumped version to 0.10.1 2015-09-18 16:52:00 +02:00
Henning Jacobs
7a1893aadd Bumped version to 0.10 2015-09-18 16:22:31 +02:00
Henning Jacobs
bd9fd6af99 Bumped version to 0.9.4 2015-09-04 11:35:32 +02:00
João Santos
f18e38ec45 Bumped version to 0.9.3 2015-09-02 09:23:47 +02:00
Henning Jacobs
56ed399c8a Bumped version to 0.9.2 2015-08-27 14:45:54 +02:00
Henning Jacobs
e1f78e4929 #48 fix Python 2.7 support by using "mock" backport module 2015-08-27 11:24:06 +02:00
João Santos
704d5c4b4b Bumped version to 0.9.1 2015-08-27 10:27:40 +02:00
Henning Jacobs
a6ae7f97aa Bumped version to 0.9.0 2015-08-26 09:38:07 +02:00
Henning Jacobs
ffb5929b6c temporary revert version in order to release 0.9 2015-08-26 09:37:37 +02:00
João Santos
2ebc0e9998 https://github.com/zalando/connexion/issues/53 change version because of breaking changes 2015-08-26 08:31:02 +02:00
João Santos
dac0fb9696 https://github.com/zalando/connexion/issues/47 make tornado optional 2015-08-26 08:28:09 +02:00
Henning Jacobs
65273bf3e8 Bumped version to 0.8.6 2015-08-18 17:53:16 +02:00
Henning Jacobs
6222fe8092 Bumped version to 0.8.5 2015-08-13 09:59:28 +02:00
Henning Jacobs
30aec14fb3 #46 simple test, add html coverage report 2015-08-13 09:59:06 +02:00
Henning Jacobs
ac5ffa3905 add some PyPI keywords 2015-08-12 21:53:58 +02:00
Henning Jacobs
e69788db9a Bumped version to 0.8.4 2015-08-11 18:50:51 +02:00