Fix png-info and extensions endpoints

This commit is contained in:
Enes Sadık Özbek
2023-12-18 18:29:08 +03:00
parent 350cd17465
commit 17e8fbfe92
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ class PNGInfoRequest(BaseModel):
class PNGInfoResponse(BaseModel):
info: str = Field(title="Image info", description="A string with the parameters used to generate the image")
items: dict = Field(title="Items", description="An object containing all the info the image had")
items: dict = Field(title="Items", description="A dictionary containing all the other fields the image had")
parameters: dict = Field(title="Parameters", description="A dictionary with parsed generation info fields")
class LogRequest(BaseModel):