Forum Discussion
Thank you for all your responses.
Wellformed checks (something like valid document format etx)can be done when you load the Spec file in the tools.(Ready API etc...)
Let us consider the beow Checks
1. Contact details shpuld have emai and phone number
2.should contains title and descriptions
3.Servers shoud not contain "\" at the end
4.Methods should be snake_case.....
etc..some thing like this....Before Dev team develops the APIs,as part of Testing team you need to ensure that they follow these guide lines while desining the Spec files...
I can actually use SwaggerCompliance assertion to veryfy the Responses are appropriate as per the Spec file...but this is after the Actual API Development is done...
Just looking for some thing in ready API to check the Spec files.(Something similar to the Spectral CLI or OVAL or Speccy)
Anyways I dont see I can do this with Ready API.....I will can continue doing with spectral and ensure the Spac file is true..
Our goal is to ensure the Spc file is single source of truth for Dev,QA or any other teams...
So I believe that one can write an utility to parse the yaml and have the desired checks.
Related Content
Recent Discussions
- 4 days agominhng