It appears that loading OAS APIs directly from a directory is not yet supported—this functionality is still in the backlog (ref: TT-6635).
Please use the /tyk/apis/oas endpoint to create the API.
You can also refer to the posts below for additional context.