Conversation
2acb44b to
131872c
Compare
97cab41 to
a2cc09d
Compare
c94fc68 to
9a8387b
Compare
a2cc09d to
dc53dbc
Compare
PublicCloudsApiController
58da529 to
d762563
Compare
026c961 to
a843136
Compare
caseylocker
left a comment
There was a problem hiding this comment.
This is generating a schema reference error and breaking doc generation.
The schema: parameter in OpenAPI attributes should NOT include the "Schema" suffix, but the class name should keep it.
In MarketplaceSchemas.php, change:
schema: 'PublicOrPrivateCloudsResponseSchema'→schema: 'PublicOrPrivateCloudsResponse'schema: 'PaginatedPublicOrPrivateCloudsResponseSchema'→schema: 'PaginatedPublicOrPrivateCloudsResponse'
Keep class names as: class PublicOrPrivateCloudsResponseSchema (correct as-is)
See /app/Swagger/schemas.php for examples: schema: 'RSVPInvitation' with class RSVPInvitationSchema
Minor - PHPDoc typo
Line 24: "PrivateCloudsApiController" → "PublicCloudsApiController"
After these fixes, please run php artisan l5-swagger:generate to verify.
a843136 to
2161e2e
Compare
Done, thanks! |
caseylocker
left a comment
There was a problem hiding this comment.
This is approved for merge @matiasperrone-exo @smarcet
|
@matiasperrone-exo On second look this one and #363 both have a few issues that I didn't catch.
Example:
|
…Marketplace Schemas file
348b4cf to
73b6562
Compare
73b6562 to
54a04db
Compare
… and DataCenterRegion schemas
caseylocker
left a comment
There was a problem hiding this comment.
This looks good. @smarcet if you agree please merge.
Task:
Ref: https://app.clickup.com/t/86b6wkgen