Beispiel #1
0
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            var schemeBuilder = new ApiKeySchemeBuilder();

            _securitySchemeBuilders[name] = schemeBuilder;
            return(schemeBuilder);
        }
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            ApiKeySchemeBuilder keySchemeBuilder = new ApiKeySchemeBuilder();

            this._securitySchemeBuilders[name] = (SecuritySchemeBuilder)keySchemeBuilder;
            return(keySchemeBuilder);
        }