Skip to content

super-cash/platform-clients-parkingplus-feign-java

Repository files navigation

swagger-java-client

Requirements

Building the API client library requires Maven to be installed.

Installation & Usage

To install the API client library to your local Maven repository, simply execute:

mvn install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn deploy

Refer to the official documentation for more information.

After the client library is installed/deployed, you can use it in your Maven project by adding the following to your pom.xml:

<dependency>
    <groupId>cash.super_.platform.client</groupId>
    <artifactId>parking-plus-client-feign</artifactId>
    <version>2.0.0-SNAPSHOT</version>
    <scope>compile</scope>
</dependency>

For build.gradle, add the Maven repository from the original package as follows:

repositories {
    mavenLocal()
    mavenCentral()

    maven {
        url "https://gitlab.com/api/v4/projects/22268428/packages/maven"
        credentials(HttpHeaderCredentials) {
            name "Private-Token"
            value "XyV*******u9r"
        }
        authentication {
            header(HttpHeaderAuthentication)
        }
    }
}

Then, add the dependency as follows:

    implementation group: "cash.super_.platform.client", name: "parking-plus-client-feign", version: "2.0.0-SNAPSHOT"

Deployment

  • This is manually deployed to the Gitlab Maven repository.

https://gitlab.com/api/v4/projects/22268428/packages/maven

Use the following token Xy****9r to publish

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.

Author

About

The Client API for the Third-party service ParkingPlus generated by the Swagger Client Generator https://github.com/marcellodesales/swagger-client-package-repo-gen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages