Skip to content
This repository was archived by the owner on Oct 26, 2019. It is now read-only.

Commit 9fe5a8b

Browse files
committed
Initial version of 1.25 api with janephp 4
0 parents  commit 9fe5a8b

File tree

549 files changed

+57516
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

549 files changed

+57516
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vendor/
2+
composer.lock

.jane-openapi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
return [
4+
'directory' => 'src',
5+
'namespace' => 'Docker\\API',
6+
'openapi-file' => __DIR__ . '/docker-swagger.yaml',
7+
'async' => true,
8+
];

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Docker PHP Api
2+
3+
Generated API Client from OpenAPI specification of Docker, by Jane OpenAPI Client generator.
4+
5+
## Usage
6+
7+
You should not use this library directly, please use the docker-php one instead.
8+
9+
## Versioning
10+
11+
This library does *not* respect semver and will instead follow Jane OpenAPI version and Docker API version:
12+
13+
* First number is the Jane major version used for generating the files
14+
* Second and third number are the Docker API Version
15+
* Last number is the minor revision number for this
16+
17+
So 3.1.25.0 is the version 1.25 of Docker API generated with Jane OpenAPI in a 3.X version.
18+
19+
You should always fix the version, or at least the 3 first numbers (3.1.25.*)

composer.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "docker-php/docker-php-api",
3+
"license": "MIT",
4+
"type": "library",
5+
"description": "Docker API generated files from OpenAPI Specification",
6+
"autoload": {
7+
"psr-4": {
8+
"Docker\\API\\": "src/"
9+
}
10+
},
11+
"require": {
12+
"php": ">=7.1",
13+
"jane-php/open-api-runtime": "^4.0"
14+
},
15+
"require-dev": {
16+
"phpunit/phpunit": "^6.0",
17+
"friendsofphp/php-cs-fixer": "^2.9",
18+
"jane-php/open-api": "^4.0",
19+
"jane-php/json-schema": "^4.0",
20+
"amphp/artax": "^3.0"
21+
},
22+
"suggest": {
23+
"amphp/artax": "To use the async api"
24+
},
25+
"minimum-stability": "dev",
26+
"prefer-stable": true
27+
}

0 commit comments

Comments
 (0)