-
Notifications
You must be signed in to change notification settings - Fork 2
Feature | Extend Swagger Coverage for controller OAuth2ChunkedFilesApiController
#366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
25fd73e to
444f6eb
Compare
c94fc68 to
9a8387b
Compare
444f6eb to
063ffca
Compare
OAuth2ChunkedFilesApiController
04ae0f0 to
80b0d40
Compare
80b0d40 to
41f1fd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a status property for uploads that seems to be missing in schemas.php.
After the 'done' property there should also be a 'status' property:
new OA\Property(property: 'status', type: 'boolean', example: true, description: 'Upload status indicator'),
Minor but when that's fixed it should be good to go.
e8a53db to
6684f9a
Compare
| /** @var AbstractHandler $handler */ | ||
| $handler = $save->handler(); | ||
| $done = $handler->getPercentageDone(); | ||
| return response()->json([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@caseylocker As you can see there is only "done" as field
fix: improve ticket repository performance remove not needed extra joins fix: set fetchJoinCollection to false for ticket repo fix: get always owner to avoid N+1 on ticket repository fix: improve get tickets generic pagination
chore: fix .gitmessage.txt chore: increase header size to 150
- Add controller's response to OpenAPI schema
6684f9a to
e78c2c2
Compare
caseylocker
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The swagger changes look ok. @smarcet Please review and if you approve please merge.
smarcet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Task:
Ref: https://app.clickup.com/t/86b6wkgjd