Commit Graph
5 Commits
Author SHA1 Message Date
jar3b 6ba671532b feat: add raise_validation_errors parameter to setup()
To control how pydantic.ValidationError will be handled, own handler (return json) or raise exception to allow intercept in aiohttp middleware
2020-11-27 02:02:54 +03:00
jar3b efbaaa5e6f fix: to push 2020-11-25 16:59:10 +03:00
jar3b 6211c71875 fix: detect x-forwarded-proto if deployed behind proxy
For static files handling, was set up in "oas_ui()"
2020-11-25 16:25:04 +03:00
jar3b 5567d73952 fix: return copy of schema without 'definitions' key
Instead of delete key 'definitions' from schema, bc schema was "cached" and if you try to load swagger twice, you got "no definitions" exception
2020-11-25 01:55:01 +03:00
jar3b 67a95ec9c9 fix: move response definitions to top level of oas 2020-11-25 01:23:10 +03:00