APIs.json Apis Properties Environments Staging Info (Edit)

This property ensures that there is a staging environment available for an API, providing base URL, tokens, keys, and other key / value pairs that are needed to integrate with an API

APIs.jsonAPIsPropertiesAdditional

Rule Definition

apis-json-apis-properties-environments-staging-info.yaml
{"apis-json-apis-properties-environments-staging-info":{"description":"This property ensures that there is a staging environment available for an API, providing base URL, tokens, keys, and other key / value pairs that are needed to integrate with an API","message":"Has a Stage Environment","severity":"info","given":["$.apis.*.properties.*","$.common.*"],"then":[{"field":"type","function":"pattern","functionOptions":{"notMatch":"\\b(StagingEnvironment)\\b"}}]}}

Back to All of the Rules