Project

General

Profile

« Previous | Next » 

Revision 50003

  • Add swagger config.

View differences:

PiWikApi.java
2 2

  
3 3

  
4 4
import eu.dnetlib.domain.data.PiwikInfo;
5
import io.swagger.annotations.Api;
5 6
import org.springframework.http.MediaType;
6 7
import org.springframework.web.bind.annotation.*;
7 8

  
8 9
import java.util.List;
9 10

  
10 11
@RestController
11
@RequestMapping(value = "/piwi")
12
@RequestMapping(value = "/piwik")
13
@Api(description = "Piwik API",  tags = {"piwik"})
12 14
public interface PiWikApi {
13 15

  
14 16

  

Also available in: Unified diff