slanatech / swagger-stats

API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
https://swaggerstats.io/
MIT License
891 stars 136 forks source link

Feature request: validating correctness of openapi spec? #142

Open rattrayalex opened 3 years ago

rattrayalex commented 3 years ago

In my experience, many companies define their openapi spec separately from their actual code, so it may be slightly out-of-date or incorrect. For example, the spec may say that a field is not nullable while in reality it is null some of the time (either due to a bug or an incorrect spec).

From the docs, it seems that swagger-stats does not currently integrate reporting on this. Is that something you might do in the future? Do you know of other projects which integrate this?