예제 #1
0
        public AsyncApiDocument GetDocument(AsyncApiOptions options, AsyncApiDocument prototype)
        {
            if (options == null)
            {
                throw new ArgumentNullException(nameof(options));
            }
            var asyncApiTypes = GetAsyncApiTypes(options, prototype);

            var document = _documentGenerator.GenerateDocument(asyncApiTypes, options, prototype, _serviceProvider);

            return(document);
        }