https://github.com/apigear-io/template-java
https://github.com/apigear-io/template-java
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/apigear-io/template-java
- Owner: apigear-io
- License: mit
- Created: 2024-08-21T10:19:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T04:11:13.000Z (10 months ago)
- Last Synced: 2025-01-18T11:26:59.565Z (5 months ago)
- Language: Java
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ApiGear Java Template
This is a template for creating a Java project using ApiGear.
## Usage
Clone the repository and install the submodules.
```bash
git clone https://github.com/apigear-io/template-java.git
cd template-java
git submodule update --init --recursive
```Clone the repository and run `task install` to install the ApiGear CLI. You need to have Go installed.
We use [Task](https://taskfile.dev/) to manage the project. Install it and run `task` to see all available commands.
```bash
task install
```- Run `task run` to generate the code.
- Run `task test` to validate the generated code against the goldenmaster.See the [ApiGear documentation](https://apigear.io/docs/intro) for more information.
## Supported Features
This is a very basic template. It supports only the core features of ApiGear.
## Features
- API:
- Simple API using interfaces, enums, POJOs, etc.## Planned Features
- github workflow
- scaffold: maven/gradle support
- demo app
- imports: support for importing other APIs
- extends: support for extending other APIs
- external: support for external APIs
- test: support for unit testing
- olink: object link support (req. objectlink core java library) using websockets