Relationships containing hyphens in url
kumy opened this issue · comments
Having endpoint definition containing hyphens as the last uri token such as /persons/<int:person_id>/relationships/computers-owned
lead to error PersonSchema has no attribute computers-owned
.
Effectively, due to python language, Schema attribute name cannot contains hyphens in their name.
At least we have to replace '-' by '_'.