Beispiel #1
0
        public IRAMLElement Convert(ApiDescription api)
        {
            var method = new Method()
            {
                Key = api.HttpMethod.ToLower()
            };

            SetQueryParameters(method, api);
            SetBody(method, api);
            SetResponses(method, api);
            comments.SetCommentToMethod(api, method);
            return(method);
        }