Project

General

Profile

« Previous | Next » 

Revision 50003

  • Add swagger config.

View differences:

BrokerApi.java
2 2

  
3 3
import eu.dnetlib.repo.manager.shared.BrokerException;
4 4
import eu.dnetlib.repo.manager.shared.broker.*;
5
import io.swagger.annotations.*;
5 6
import org.json.JSONException;
6 7
import org.springframework.http.MediaType;
7 8
import org.springframework.web.bind.annotation.*;
......
12 13

  
13 14
@RestController
14 15
@RequestMapping(value = "/broker")
16
@Api(description = "Broker API",  tags = {"broker"})
15 17
public interface BrokerApi {
16 18

  
17 19
    @RequestMapping(value = "/getDatasourcesOfUser" , method = RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE)

Also available in: Unified diff