Add jwt validation to OAS apis

Hello, I imported an OAS api, however I want to put the tyk api gateway as a responsible for the jwt validation before handling the request to the server.
I’m using amazon cognito, I managed to do this by editing the “second” file created in the apps directory however this seems not doable with the Tyk Gateway REST Api.
Any hints or ideas ?

Hi @mgara,
Welcome to Tyk community and thank you for posting here. OAS has the concept of securitySchemes which describes one way in which an API may be accessed. Please refer to this documentation how to set this. Here is the specific link for setting JWT.