Update swagger file and add documentation API