Renamed Resource to View, and allow custom root links

This commit is contained in:
Joel Collins 2020-01-14 11:41:56 +00:00
parent 234ebc1cbb
commit a329b9197b
18 changed files with 90 additions and 67 deletions

View file

@ -1,14 +1,14 @@
"""
Top-level representation of attached and enabled Extensions
"""
from ..resource import Resource
from ..view import View
from ..find import registered_extensions
from ..schema import ExtensionSchema
from ..decorators import marshal_with, ThingProperty
@ThingProperty
class ExtensionList(Resource):
class ExtensionList(View):
"""
List and basic documentation for all enabled Extensions
"""