bee-travels/openapi-comment-parser

check that schemas have been defined

bourdakos1 opened this issue · 0 comments

example:

/**
 * GET /pets/{id}
 * @pathParam {strng} id - The id of the pet.
 * @response 200 - OK
 */

The schema strng hasn't been defined and is not a primitive, they probably meant string so it would be nice to have an eslint error

we can't just check the primitive list because they could have strng defined as a schema component