Open cgsmith opened 1 year ago
As I wrote in https://github.com/CGSmith-LLC/shipwise-api/issues/146#issuecomment-1438557847 I don't see what exactly we want to validate when the docs are generated from PHPDoc. This makes more sense when API spec is written as JSON or YAML file.
I noted this down as an issue because when I was testing different doc generators the OpenAPI spec v2 was complaining about the generated swagger.json not adhering to the spec.
Okay, so the build job should write down the spec file and then check it. It needs to run the yii app to do this though.
Buddy.works handles the build process. It should also verify the Swagger documentation is valid according to the spec.