fix openapi issue with exclusiveMaximum (#14)
* fix openapi issue with exclusiveMaximum * dont change businesslogic
This commit is contained in:
parent
6bce388dcd
commit
095c793381
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class CreatePayLinkData(BaseModel):
|
||||||
min: float = Query(1, ge=0.01)
|
min: float = Query(1, ge=0.01)
|
||||||
max: float = Query(1, ge=0.01)
|
max: float = Query(1, ge=0.01)
|
||||||
currency: str = Query(None)
|
currency: str = Query(None)
|
||||||
comment_chars: int = Query(0, ge=0, lt=800)
|
comment_chars: int = Query(0, ge=0, le=799)
|
||||||
webhook_url: str = Query(None)
|
webhook_url: str = Query(None)
|
||||||
webhook_headers: str = Query(None)
|
webhook_headers: str = Query(None)
|
||||||
webhook_body: str = Query(None)
|
webhook_body: str = Query(None)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue