If the api.yaml file contains an operation which does not have -
x-nitric-target:
name: *****
type: function
It will throw the following error -
TypeError: Cannot read property 'type' of undefined
The error has no context as to where in nitric.yaml or api.yaml that this is occurring.
Ideally, should throw a warning suggesting that the operation will not map to a nitric service.
Nitric APIs
apis: example: api.yaml
If the api.yaml file contains an operation which does not have -
It will throw the following error - TypeError: Cannot read property 'type' of undefined
The error has no context as to where in nitric.yaml or api.yaml that this is occurring. Ideally, should throw a warning suggesting that the operation will not map to a nitric service.