From the course: Building APIs with Swagger and the OpenAPI Specification

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Enforcing API standards

Enforcing API standards - REST Tutorial

From the course: Building APIs with Swagger and the OpenAPI Specification

Start my 1-month free trial

Enforcing API standards

we can encourage the adoption of best practices for an organization's API definitions by establishing standards at the organization level. To do this, we just click on the organization name and then we navigate up to this gear about the organization. and then what we're interested in is the Standardizations tab. organization's API definitions. that certain properties within the info object be required for our API definitions. for our API definitions. We're also able to require that certain information be provided for our operations, be provided for our operations, and then we can set standards for models as well. For our purposes, we're just going to apply one standard, For our purposes, we're just going to apply one standard, and that's that operations must have one and only one tag. So let's go ahead, and check the checkbox next to the standard, and then hit Save. At this point, we can navigate back to MY hub, and you can see that our catalog API…

Contents