Closed jpjpjp closed 2 weeks ago
hi @jpjpjp
Would this be something you had in mind for the warning?
Question: what would be the default? That this warning is displayed or only when the --warn
parameter is included?
Yes. This would be really helpful to catch mistakes!
hi @jpjpjp
We just released version 1.30.5 of Portman, which includes the warning when a target does not exist in the OpenAPI spec. Let us know if you have improvements or ideas.
Closing this feature request as completed.
I recently discovered that some of the tests I thought I had written weren't being created. After some investigation, I realized that the OperationId I specified didn't match what was in my spec.
In my case I had a variation test that looked something like this:
Since my spec file didn't have an updateCategoryById none of the tests specified in this section got generated.
It would be nice if Portman would generate a warning, or even outright fail when it can't find a specified OpenAPIOperationId
Thanks for your consideration!