-
Notifications
You must be signed in to change notification settings - Fork 2
Feature | Extend Swagger Coverage for controller OAuth2SummitAttendeeBadgePrintApiController
#397
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
3d5cf3a to
ba8802d
Compare
22c1bce to
0ed0ceb
Compare
5459d18 to
16fb763
Compare
|
Added security schema to controller file |
|
@caseylocker The security schema for the controller was created in its own file |
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.
@matiasperrone-exo missing operationIds in OAuth2SummitAttendeeBadgePrintApiController
| Endpoint | Suggested operationId |
|---|---|
| GET .../badge/current/prints | getBadgePrintsForTicket |
| GET .../badge/current/prints/csv | exportBadgePrintsCsv |
| DELETE .../badge/current/prints | deleteBadgePrintsForTicket |
There's an issue with a parameter:
The path uses {id} for summit but parameter is named summit_id:
// Path says {id}
path: "/api/v1/summits/{id}/tickets/{ticket_id}/badge/current/prints"
// But parameter says summit_id
new OA\Parameter(
name: 'summit_id', // Should be 'id' to match path
...
)
Looks like there's an unused import:
use App\Swagger\Security\BadgePrintsAuthSchema;
1861ce5 to
d27e261
Compare
…gePrintApiController`
…ontrollerSecurityScheme
d27e261 to
aafbea6
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.
Approved.
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/86b6wkh57