-
Notifications
You must be signed in to change notification settings - Fork 2
Feature | Extend Swagger Coverage for controller DistributionsApiController
#359
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
Feature | Extend Swagger Coverage for controller DistributionsApiController
#359
Conversation
3b67b0e to
2acb44b
Compare
app/Http/Controllers/Apis/Marketplace/DistributionsApiController.php
Outdated
Show resolved
Hide resolved
app/Http/Controllers/Apis/Marketplace/DistributionsApiController.php
Outdated
Show resolved
Hide resolved
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.
@matiasperrone-exo please review comments
4f4b976 to
9ed27c0
Compare
316faf5 to
2611055
Compare
|
@smarcet Please check that the requested changes are now complete. Thank you. |
e3e142a to
161d4d3
Compare
app/Http/Controllers/Apis/Marketplace/DistributionsApiController.php
Outdated
Show resolved
Hide resolved
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.
@matiasperrone-exo please review
|
@smarcet please review, all the requested changes were incorporated. |
c94fc68 to
9a8387b
Compare
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.
@matiasperrone-exo please review comments
17c5e78 to
57cc6cf
Compare
app/Http/Controllers/Apis/Marketplace/DistributionsApiController.php
Outdated
Show resolved
Hide resolved
d991309 to
84bfbca
Compare
|
@smarcet you may now the PR again, 16 new referenced schemas were added. |
|
@caseylocker please review |
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
There are at least 3 OpenAPI types that aren't valid in CompanySchema.php. Please review the OpenAPI type list. I've seen this in several PRs now. Valid types are: string, number, integer, boolean, array, object
new OA\Property(property: 'logo', type: 'url'), // Invalid type
new OA\Property(property: 'big_logo', type: 'url'), // Invalid type
new OA\Property(property: 'color', type: 'color'), // Invalid type
See app/Swagger/Models/OpenStackImplementationSchema.php for a correct implementation.
Why is there a new app/Swagger/Models/ subdirectory? Related schemas should go into the Swagger directory in related files. E.g.
app/Swagger/SummitSchemas.php - Summit-related schemas
app/Swagger/MarketplaceSchemas.php - Marketplace-related schemas
etc...
Was this change OK'd by @smarcet ?
@caseylocker thanks for the comments. |
|
@smarcet this new directory is an attempt to be easily maintainable and to fix and detect conflicts in the different branches to be ready to be merged to main at the end with no problems |
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.
My comments have been addressed. @smarcet if you agree 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
Depends on:
#385
Task:
Ref: https://app.clickup.com/t/86b6wkg2j