APIs.json Apis Properties Gateway Info (Edit)

This property ensures that there is a reference to the gateway for an API, referencing where you can manage the configuration for each API

APIs.jsonAPIsProperties

Rule Definition

apis-json-apis-properties-gateway-info.yaml
{"apis-json-apis-properties-gateway-info":{"description":"This property ensures that there is a reference to the gateway for an API, referencing where you can manage the configuration for each API","message":"Has Staging Gateway for API","severity":"info","given":["$.apis.*.properties.*","$.common.*"],"then":[{"field":"type","function":"pattern","functionOptions":{"notMatch":"\\b(gateway|Gateway)\\b"}}]}}

Back to All of the Rules