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
The Example Value is missing the Nested Address model:
{
"name": "string"
}
Also, an error pops up at the top of the Swagger UI page:
Resolver error at paths./hello.put.parameters.0.schema.properties.address.$ref
Could not resolve reference: Could not resolve pointer: /definitions/Address does not exist in document
Error Messages/Stack Trace
If applicable, add the stack trace produced by the error
Environment
Python version: 2.7.12
Flask version: 0.12.2
Flask-RESTX version: 0.2.0
Other installed Flask extensions: n/a
The text was updated successfully, but these errors were encountered:
arkady
changed the title
ordered=True and Nested models → error in Swagger UI
Api(..., ordered=True) and Nested models → error in Swagger UI
May 5, 2020
arkady
changed the title
Api(..., ordered=True) and Nested models → error in Swagger UI
Api(..., ordered=True) and Nested models → error in Swagger UI
May 5, 2020
When
ordered=True
is passed toApi
(or a namespace), havingNested
models causes an error in the Swagger UIExample Code
Repro Steps (if applicable)
default
namespace to expand itExpected Behavior
Should see Example Value and Model reflecting the nested models defined in code:
Actual Behavior
The Example Value is missing the Nested Address model:
Also, an error pops up at the top of the Swagger UI page:
Error Messages/Stack Trace
If applicable, add the stack trace produced by the error
Environment
The text was updated successfully, but these errors were encountered: