-
Notifications
You must be signed in to change notification settings - Fork 1
Feature: Extend Swagger Coverage for controller OAuth2SummitsEventTypesApiController #425
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
base: main
Are you sure you want to change the base?
Conversation
| new OA\Response( | ||
| response: Response::HTTP_OK, | ||
| description: "Event types retrieved successfully", | ||
| content: new OA\JsonContent( |
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.
@andrestejerina97 this should be defined as a new schema at EventTypeSchemas.php as
PaginatedEventTypesResponse ( check
summit-api/app/Swagger/schemas.php
Line 74 in abbde7c
| schema: 'PaginatedRSVPInvitationsResponse', |
| ], | ||
| requestBody: new OA\RequestBody( | ||
| required: true, | ||
| content: new OA\JsonContent( |
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.
@andrestejerina97 define this as schema here app/Swagger/EventTypeSchemas.php
| ], | ||
| requestBody: new OA\RequestBody( | ||
| required: true, | ||
| content: new OA\JsonContent( |
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.
@andrestejerina97 define this as schema here app/Swagger/EventTypeSchemas.php
| new OA\Response( | ||
| response: Response::HTTP_CREATED, | ||
| description: "Default event types seeded successfully", | ||
| content: new OA\JsonContent( |
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.
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.
@andrestejerina97 please review comments
ref: https://app.clickup.com/t/86b6wkha7