Skip to content

Commit b965ef9

Browse files
committed
add details to the readme
1 parent d813a30 commit b965ef9

File tree

2 files changed

+54
-3
lines changed

2 files changed

+54
-3
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Applying api changes
2+
3+
1. navigate to the subproject(s) matching the api version(s) to be changed
4+
2. update the `docker-engine-api-v<VERSION>.yaml`
5+
3. execute in the project's root directory: `./gradlew :api-model-v<VERSION>:updateApiModelSources`
6+
4. verify the code changes, e.g. using `git status` or `git diff`
7+
5. perform checks: `./gradlew check`
8+
6. push the changes to your fork and submit a pull request (see [GitHub's documentation](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) for help about contributing to a project)

README.md

Lines changed: 46 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,48 @@
11
# docker-remote-api
22

3-
Official documentation: https://docs.docker.com/engine/api/
4-
API reference (latest release): https://docs.docker.com/engine/api/latest/
5-
API reference source: https://github.com/moby/moby/blob/master/api/swagger.yaml
3+
_This project is Work In Progress_
4+
5+
A Docker Remote API model generated from the official OpenAPI spec.
6+
Every engine api version is modeled as dedicated subproject and published artifacts.
7+
8+
## Usage
9+
10+
Consumers can choose a matching api model by specifying the correct library.
11+
The api version is part of the artifact-id, so that we're able to evolve
12+
each api model independently. See the examples below how to include the model
13+
in your project.
14+
15+
Gradle:
16+
17+
```groovy
18+
implementation("de.gesellix:docker-remote-api-model-1-41:[2021-10-16T19-28-00,)")
19+
```
20+
21+
Maven:
22+
23+
```xml
24+
<dependency>
25+
<groupId>de.gesellix</groupId>
26+
<artifactId>docker-remote-api-model-1-41</artifactId>
27+
<version>[2021-10-16T19-28-00,)</version>
28+
</dependency>
29+
```
30+
31+
## API Documentation
32+
33+
- Official documentation: https://docs.docker.com/engine/api/
34+
- API reference (latest release): https://docs.docker.com/engine/api/latest/
35+
- API reference source: https://github.com/moby/moby/blob/master/api/swagger.yaml
36+
37+
## Contact
38+
39+
Please leave feedback, ideas for improvements, or bug reports as [issues](https://github.com/docker-client/docker-remote-api/issues).
40+
41+
Feel free to submit [pull requests](https://github.com/docker-client/docker-remote-api/pulls)!
42+
See [CONTRIBUTING](CONTRIBUTING.md) for details how to apply api or code changes.
43+
44+
I'm available at Twitter [@gesellix](https://twitter.com/gesellix), too.
45+
46+
## License
47+
48+
See the [LICENSE](LICENSE) file.

0 commit comments

Comments
 (0)