Configuring rulesets in IBM API Studio
Learn to manage rulesets in IBM API Studio to enforce governance standards and validate APIs during the API design process.
About this task
Rulesets define the governance and validation standards that help APIs comply with organizational and global best practices. In IBM API Studio, ruleset management gives you a consistent way to fetch, apply, and enforce these rules during API design and testing.
IBM API Studio connects with API Manager to retrieve both global rulesets, defined centrally, and custom rulesets, which are created for specific needs. The integrated linting engine uses these rulesets to validate APIs, enabling seamless checks in your API design process.
Procedure
What to do next
- You can view the applied rulesets only for an OpenAPI specification in the code view. Click Validation to open Manage rulesets in the editor and view the applied rulesets. You can also add or remove rulesets.
- Errors related to the applied rulesets appear in the Problems tab. You can sort linting errors by ruleset using the Triggered by filter in the Problems tab and resolve them as needed.