Ejemplo n.º 1
0
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            var schemeBuilder = new ApiKeySchemeBuilder();

            _securitySchemeBuilders[name] = schemeBuilder;
            return(schemeBuilder);
        }
Ejemplo n.º 2
0
        public ApiKeySchemeBuilder ApiKey(string name)
        {
            ApiKeySchemeBuilder keySchemeBuilder = new ApiKeySchemeBuilder();

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