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
I encountered a weird problem when converting a blueprint that has data structure with Include (which is mixin type) in the spec, but then it seems to be ignored in the component schema.
For example, given this apib:
#Test API# Data Structures##`Person` (object)- first_name (string, required)
- last_name (string, required)
##`Member` (object)- uid (string, required)
- Include `Person`
# Group Members## Member Registrations [/accounts/register]### Submit Registration [POST /accounts/register]
Register a user
- Request (application/json)
- Attributes (Person)
-Response201(application/json)- Attributes (Member)
The API result seems to be okay, but the component schema "Member" does not refer to "Person" at all, so it's missing the first_name and last_name.
Hello!
I encountered a weird problem when converting a blueprint that has data structure with
Include
(which is mixin type) in the spec, but then it seems to be ignored in the component schema.For example, given this apib:
The API result seems to be okay, but the component schema "Member" does not refer to "Person" at all, so it's missing the
first_name
andlast_name
.Do I miss something or the converter simply unaware about mixins?
The text was updated successfully, but these errors were encountered: