You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I don't really know the details as of why, but I notice that after any POST request the specification in the SwaggerUI middelware instance clones itself. However, in the cloning process, the Specification constructor is provided with the validated spec mapping instead of the raw spec the constructor actually expects. Then consequently after loading the spec from it's served URI, the server crashes.
By changing self._spec to self._raw_spec on line 209 in connexion/spec.py seems to fix the issue.