Little more information required but in general this is un-related to apigee but more of a stoplight which in this case you will need to follow below to setup custom rules according to your company api guidelines.
https://meta.stoplight.io/docs/spectral/ZG9jOjI1MTg5-custom-rulesets