fix openapi issue with exclusiveMaximum (#14)

* fix openapi issue with exclusiveMaximum
* dont  change businesslogic
This commit is contained in:
dni ⚡ 2023-06-21 09:42:14 +02:00 committed by GitHub
commit 095c793381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)