Skip to content

Commit

Permalink
Merge branch 'fix-integer-format' into 'main'
Browse files Browse the repository at this point in the history
fix integer format

See merge request grab-transport/mex/store-ops/openapi-sdk/grabfood-api-sdk-java!3
  • Loading branch information
muhamad-lukman-grab committed Sep 26, 2024
2 parents 5ed9ab4 + f0f1a40 commit e7781b7
Show file tree
Hide file tree
Showing 213 changed files with 1,619 additions and 1,555 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

## [1.0.0] - 2024-09-25

### Added
- Initial release of the project.

### Changed

### Deprecated

[1.0.0]: https://github.com/grab/grabfood-api-sdk-java/releases/tag/v1.0.0
23 changes: 12 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Add this dependency to your project's POM:

```xml
<dependency>
<groupId>com.grabfood</groupId>
<artifactId>grabfood-java-client</artifactId>
<groupId>com.grab</groupId>
<artifactId>grabfood-api-sdk-java</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Expand All @@ -50,12 +50,12 @@ Add this dependency to your project's build file:

```groovy
repositories {
mavenCentral() // Needed if the 'grabfood-java-client' jar has been published to maven central.
mavenLocal() // Needed if the 'grabfood-java-client' jar has been published to the local maven repo.
mavenCentral() // Needed if the 'grabfood-api-sdk-java' jar has been published to maven central.
mavenLocal() // Needed if the 'grabfood-api-sdk-java' jar has been published to the local maven repo.
}
dependencies {
implementation "com.grabfood:grabfood-java-client:1.0.0"
implementation "com.grab:grabfood-api-sdk-java:1.0.0"
}
```

Expand All @@ -69,7 +69,7 @@ mvn clean package

Then manually install the following JARs:

- `target/grabfood-java-client-1.0.0.jar`
- `target/grabfood-api-sdk-java-1.0.0.jar`
- `target/lib/*.jar`

## Getting Started
Expand All @@ -86,11 +86,11 @@ By following these practices, you minimize the number of requests to the server,
You can usually determine the validity of a token by the `expires_in` attribute in the OAuth2 token response.

```java
import com.grabfood.client.ApiClient;
import com.grabfood.client.ApiException;
import com.grabfood.client.Configuration;
import com.grabfood.client.model.*;
import com.grabfood.client.api.*;
import com.grab.grabfood.client.ApiClient;
import com.grab.grabfood.client.ApiException;
import com.grab.grabfood.client.Configuration;
import com.grab.grabfood.client.model.*;
import com.grab.grabfood.client.api.*;

public class Example {
public static void main(String[] args) {
Expand Down Expand Up @@ -137,6 +137,7 @@ For handling webhook requests, we provide dedicated models for both requests and
## Documentation for API Endpoints

The base URL for OAuth2 URIs is https://api.grab.com

For other GrabFood partner API endpoints, URIs are relative to https://partner-api.grab.com/grabfood

Class | Method | HTTP request | Description
Expand Down
Loading

0 comments on commit e7781b7

Please sign in to comment.