Skip to content

Conversation

@matiasperrone-exo
Copy link
Contributor

@matiasperrone-exo matiasperrone-exo commented Oct 13, 2025

@matiasperrone-exo matiasperrone-exo self-assigned this Oct 13, 2025
@matiasperrone-exo matiasperrone-exo added the documentation Improvements or additions to documentation label Oct 13, 2025
@matiasperrone-exo matiasperrone-exo force-pushed the feature/add-openapi-documentation-to-controller---apis---protected---summit---oauth2summitattendeebadgeprintapicontroller branch 2 times, most recently from 3d5cf3a to ba8802d Compare October 14, 2025 17:51
@matiasperrone-exo matiasperrone-exo force-pushed the feature/add-openapi-documentation-to-controller---apis---protected---summit---oauth2summitattendeebadgeprintapicontroller branch from 22c1bce to 0ed0ceb Compare November 10, 2025 20:42
@matiasperrone-exo matiasperrone-exo added review Need reviewing from the developer and removed review Need reviewing from the developer labels Nov 10, 2025
@matiasperrone-exo matiasperrone-exo force-pushed the feature/add-openapi-documentation-to-controller---apis---protected---summit---oauth2summitattendeebadgeprintapicontroller branch from 5459d18 to 16fb763 Compare November 10, 2025 21:00
@matiasperrone-exo
Copy link
Contributor Author

Added security schema to controller file

@matiasperrone-exo
Copy link
Contributor Author

@caseylocker The security schema for the controller was created in its own file

Copy link

@caseylocker caseylocker left a 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;

@matiasperrone-exo matiasperrone-exo force-pushed the feature/add-openapi-documentation-to-controller---apis---protected---summit---oauth2summitattendeebadgeprintapicontroller branch from 1861ce5 to d27e261 Compare December 2, 2025 21:58
@matiasperrone-exo matiasperrone-exo force-pushed the feature/add-openapi-documentation-to-controller---apis---protected---summit---oauth2summitattendeebadgeprintapicontroller branch from d27e261 to aafbea6 Compare December 5, 2025 14:38
Copy link

@caseylocker caseylocker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

Copy link
Collaborator

@smarcet smarcet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@smarcet smarcet merged commit c20fed8 into main Dec 16, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants