Closed drderuiter closed 3 years ago
I am able to reproduce it both on my own project that uses aiohttp-pydantic
and the demo. I can confirm this. I tried with Python 3.8.7
and 3.9.1
.
This also happens if you close the Swagger page and reopen it later. Kinda same thing with page refresh/reload.
After reload page the "components" part of schema is not re-generated.
Steps to reproduce:
Observed behavior:
The steps above lead to the following error:
Could not resolve reference: Could not resolve pointer: /components/schemas/Friend does not exist in document
Nested schemas, such asFriend
in the demo, can not be loaded after the refresh. The outer schemas (Pet
in the demo) are loaded fine. I observe the same behavior in my own project usingaiohttp-pydantic
.Tested with Python
3.8.5
. Emptying the browser cache does not help.