Flasgger

Latest version: v0.9.7.1

Safety actively analyzes 623282 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.9.7b2

-----
- chore: noqa for APISpecsView.get bare exception with json.dumps fallback (exception logging preserved)
- fix: flask >== 2.3 json encoder change
- chore: python 3.11 and flasklatest travis config
- removed usage of safe_str_cmp of werkzeug. using hmac.compare_digest instead (532)
- Resolve 562 - Incompatibility with flask 2.3 (564)
- Fix the wrong code block separation in README (516)
- Fix openapi3 request parse validation (505)
- Remove top level definitions, move /definitions to /components/schemas if configured to openapi3 (504)
- Fix required body if one parameter is required (476)
- change cian -> cyan (502)
- Implemented the SwaggerUI urls config parameter which displays a dropdown of API specs instead of an editable textbox (473)
- Fix indentation in readme example (480)
- fix path parameter bug for integers (485)
- Wrapping APISpecsView get response in a try except (420)
- Merge branch 'master' into generate-schema-command
- Trivial flake issue resolved for docker build of flasgger (452)
- Deprecate imp [Breaks py2.7 compatibility] (413) Resolves 434
- Fix line too long error
- Remove python2
- Add command to generate the specs
- Fix error format and add regression tests
- Extract is_openapi3 in utils and test it
- Add flask_mongorest
- Set displayOperationId to true
- Pep8
- Fix chinese table of contents
- Fix for apispec 4
- Add chinese docs
- Fix definition docstring splitting
- Add use func validate from utils
- add test case for post request
- Change test for swag_schema
- Easy usage Marshmallow and flasgger
- PEP 8 compliance for oauth static html default
- Add Swagger UI auth config to ui.inioauth
- Make available oauth2 redirect html

NOTE: python2 is deprecated and no longer supported in flasgger

0.9.5

-----
- 'swag_from' supports 'pathlib.Path'
- Added support for OpenAPI3 parameter schema parsing [390](https://github.com/flasgger/flasgger/pull/390)
- Enable optional OpenAPI3 fields [366](https://github.com/flasgger/flasgger/issues/366)
- Fix access to local $ref definition 367
- Add support for custom validation_function and error_handler
- Accept pathlib.Path objects as path specification for swag_from
- Delay RuntimeError for not installing apispec marshmallow in Schema 384
- Ensure downward compatibility for werkzeug 391
- Support default configuration merging 383
- Update `swagger-ui` to `3.28.0` (improves safety)

0.9.4

-----
- Changed apispec version supported to 2.0.2
- Added support for OpenAPI3 callback field
- Changed jsonschema version supported to jsonschema>=3.0.1
- Changed json data to be parsed from request directly
- Changed swagger-ui 3 version to 3.23.1
- Added support for JWT_AUTH_HEADER_NAME
- Changed to yaml.safe_load
- Added support for docExpansion in swagger-ui 2
- Fixed bug for apispec_to_template definition [301](https://github.com/flasgger/flasgger/commit/0ee67a755121000dad5b4405f2dd2bcb50c8ad51)
- Added support for using external yml file to specify parameter [commit by isaacfi](https://github.com/flasgger/flasgger/commit/5ee9586febd931cbdce54527f40c53def4d747d1)
- Changed flask-restful abort call to abort(code, e.message)
- Added definitions to parsed_data validation [330] (https://github.com/flasgger/flasgger/commit/8310196821ed61374581bb99d2be7739661b3afa)
- Added support for Marshmallow Schema in Function Based View [341] (https://github.com/flasgger/flasgger/commit/fbaa7a12859823137c485f9f6fb5591325dc90da)
- Changed status code for no data to validate from 500 to 400
- Added require_data kwarg to validate() to make data optional [340](https://github.com/flasgger/flasgger/commit/b8e6b4fc7390d4f8f7ddcd113d70a54acd54da1d)
- Added support for importing OpenAPI3 spec components from config
- Enable "import:" syntax in template.yml
- Forward validation_error_handler in Marshmallow APIspec [352](https://github.com/flasgger/flasgger/commit/c5b36a7eee8958a77cbc4b3b4629416b5d9a987e)

0.9.2

-----

- Fixed packaging issue caused by the inclusion of examples [242](https://github.com/rochacbruno/flasgger/issues/242)
- Enhancement allowing swagger-ui and static js to be loaded from external URLs [245](https://github.com/rochacbruno/flasgger/pull/245)
- Added ui_params_text to allow raw text to be added to ui_params [244](https://github.com/rochacbruno/flasgger/pull/244)
- Auto-disable Flasgger caching when running Flask in debug mode [250](https://github.com/rochacbruno/flasgger/pull/250)

0.9.1

-----

- Updated support for apispec >=0.39.0 [205](https://github.com/rochacbruno/flasgger/pull/205)
- Added install of etc/flasgger_package in requirements-dev.txt [208](https://github.com/rochacbruno/flasgger/pull/208)
- repaired key error thrown when a path is given instead of in the func [210](https://github.com/rochacbruno/flasgger/pull/210)
- fixed static file paths in demo app [213](https://github.com/rochacbruno/flasgger/pull/213)
- removed pre-compile/cache *.pyc files from dist [137](https://github.com/rochacbruno/flasgger/issues/137)
- auto-detect unicode charset-encoding in YAML files [156](https://github.com/rochacbruno/flasgger/issues/156)
- bug fix, use getattr instead of dict get [226](https://github.com/rochacbruno/flasgger/pull/226)
- added dev support for Docker (for demo app)
- added support for parsed MethodView (flask_restful) [222](https://github.com/rochacbruno/flasgger/pull/222)

0.9.0

-----

- Updated Swagger UI 3.x
- uiversion now defaults to 3
- 'hide_top_bar' config option to remove the green top bar
- 'fotter_text' added to customize the footer text (allows html and <script>)
- templates/flasgger/footer.html added and can be replaced to customization
this footer.html is the right place for custom <script>
- 'top_text' added to customize the header text (allows html)
- templates/flasgger/top.html added and can be replaced to customization
- 'head_text' added to customize the <head> (allows html)
- templates/flasgger/head.html added and can be replaced to customization
- added 'doc_expansion' config to control the collapse
- added 'ui_params' to allow override of any swagger.ui values
- See examples/changelog_090.py
- schemes are now pulled from config when present [201](https://github.com/rochacbruno/flasgger/pull/201)
- UI template refactoring/separation

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.