We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5376496 commit 16c08dbCopy full SHA for 16c08db
quotes_api/api/views.py
@@ -11,7 +11,13 @@
11
TagList,
12
)
13
from quotes_api.extensions import apispec
14
-from quotes_api.api.schemas import QuoteSchema, AuthorSchema, TagSchema, MetadataSchema
+from quotes_api.api.schemas import (
15
+ QuoteSchema,
16
+ AuthorSchema,
17
+ TagSchema,
18
+ LinksSchema,
19
+ MetadataSchema,
20
+)
21
22
blueprint = Blueprint("api", __name__, url_prefix="/api/v1")
23
@@ -33,6 +39,7 @@ def register_views():
33
39
apispec.spec.components.schema("QuoteSchema", schema=QuoteSchema)
34
40
apispec.spec.components.schema("AuthorSchema", schema=AuthorSchema)
35
41
apispec.spec.components.schema("TagSchema", schema=TagSchema)
42
+ apispec.spec.components.schema("LinksSchema", schema=LinksSchema)
36
43
apispec.spec.components.schema("MetadataSchema", schema=MetadataSchema)
37
44
38
45
# Adding Quote views
0 commit comments