mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-01 04:16:24 -05:00
Upgrading Sanic. Updating tests and schemas.
This commit is contained in:
parent
0bd5d17b46
commit
b1ed453466
18 changed files with 353 additions and 592 deletions
|
|
@ -1,9 +1,11 @@
|
|||
from sanic_openapi import doc
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass
|
||||
class PBFPostRequest:
|
||||
pbf_url = doc.String()
|
||||
pbf_url: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class PBFPostResponse:
|
||||
success = doc.String()
|
||||
success: str
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue