struct Open::Api::Security::Requirement

Defined in:

open-api/security.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, scopes : Array(String) = Array(String).new) #

[View source]

Instance Method Detail

def name : String #

[View source]
def scopes : Array(String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]
def to_yaml(yaml : YAML::Nodes::Builder) #

[View source]