Api Documentation
- API version: 1.0
- Build date: 2019-09-29T00:57:32.159Z
Api Documentation
Automatically generated by the Swagger Codegen
Building the API client library requires:
- Java 1.7+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-java-client</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "io.swagger:swagger-java-client:1.0.0"
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/swagger-java-client-1.0.0.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.LembreteResourceApi;
import java.io.File;
import java.util.*;
public class LembreteResourceApiExample {
public static void main(String[] args) {
LembreteResourceApi apiInstance = new LembreteResourceApi();
Lembrete lembrete = new Lembrete(); // Lembrete | lembrete
Long id = 789L; // Long | id
try {
Lembrete result = apiInstance.atualizaLembreteUsingPUT(lembrete, id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LembreteResourceApi#atualizaLembreteUsingPUT");
e.printStackTrace();
}
}
}
All URIs are relative to https://apirest-springboot.herokuapp.com
Class | Method | HTTP request | Description |
---|---|---|---|
LembreteResourceApi | atualizaLembreteUsingPUT | PUT /api/lembrete/{id} | atualizaLembrete |
LembreteResourceApi | deletaLembreteByIdUsingDELETE | DELETE /api/lembrete/{id} | deletaLembreteById |
LembreteResourceApi | deletaLembreteUsingDELETE | DELETE /api/lembrete | deletaLembrete |
LembreteResourceApi | findByIdUsingGET | GET /api/lembrete/{id} | findById |
LembreteResourceApi | listaLembretesUsingGET | GET /api/lembrete | listaLembretes |
LembreteResourceApi | salvaLembreteUsingPOST | POST /api/lembrete | salvaLembrete |
ProdutoResourceApi | atualizaProdutoUsingPUT | PUT /api/produto | atualizaProduto |
ProdutoResourceApi | deletaProdutoUsingDELETE | DELETE /api/produto | deletaProduto |
ProdutoResourceApi | listaProdutoUnicoUsingGET | GET /api/produto/{id} | listaProdutoUnico |
ProdutoResourceApi | listaProdutosUsingGET | GET /api/produtos | listaProdutos |
ProdutoResourceApi | salvaProdutoUsingPOST | POST /api/produto | salvaProduto |
All endpoints do not require authorization. Authentication schemes defined for the API:
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.