![]() ![]() When used on the root level, security applies the specified security schemes globally to all API operations, unless overridden on the operation level. Applying securityĪfter you have defined the security schemes in the securitySchemes section, you can apply them to the whole API or individual operations by adding the security section on the root level or operation level, respectively. The BasicAuth, BearerAuth names and others are arbitrary names that will be used to refer to these definitions from other places in the spec.Īdmin: Grants access to admin operations Step 2. The following example shows how various security schemes are defined. Other required properties for security schemes depend on the type. openIdConnect – for OpenID Connect Discovery. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |