You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
285 B
Python
15 lines
285 B
Python
6 years ago
|
from molten import schema, field
|
||
|
|
||
|
|
||
|
@schema
|
||
|
class Link:
|
||
|
href: str
|
||
|
|
||
|
|
||
|
@schema
|
||
|
class APIResponse:
|
||
|
status: int = field(description="An HTTP status code")
|
||
|
message: str = field(
|
||
|
description="A user presentable message in response to the request provided to the API"
|
||
|
)
|