mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-15 23:16:36 +00:00
Add explicit java version setup (#110)
* add java setup and add some code to test * Update API pages with v0.24.3 * removing test code --------- Co-authored-by: netbirddev <dev@netbird.io>
This commit is contained in:
6
.github/workflows/generate_api_pages.yml
vendored
6
.github/workflows/generate_api_pages.yml
vendored
@@ -24,6 +24,12 @@ jobs:
|
||||
- name: Install swagger-codegen
|
||||
run: brew install swagger-codegen
|
||||
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: Npm install
|
||||
run: npm install
|
||||
|
||||
|
||||
@@ -185,7 +185,8 @@ echo $response;
|
||||
"dns_label": "stage-host-1.netbird.cloud",
|
||||
"login_expiration_enabled": false,
|
||||
"login_expired": false,
|
||||
"last_login": "2023-05-05T09:00:35.477782Z"
|
||||
"last_login": "2023-05-05T09:00:35.477782Z",
|
||||
"accessible_peers_count": 5
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -214,7 +215,8 @@ echo $response;
|
||||
"dns_label": "string",
|
||||
"login_expiration_enabled": "boolean",
|
||||
"login_expired": "boolean",
|
||||
"last_login": "string"
|
||||
"last_login": "string",
|
||||
"accessible_peers_count": "integer"
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -420,7 +422,16 @@ echo $response;
|
||||
"dns_label": "stage-host-1.netbird.cloud",
|
||||
"login_expiration_enabled": false,
|
||||
"login_expired": false,
|
||||
"last_login": "2023-05-05T09:00:35.477782Z"
|
||||
"last_login": "2023-05-05T09:00:35.477782Z",
|
||||
"accessible_peers": [
|
||||
{
|
||||
"id": "chacbco6lnnbn6cg5s90",
|
||||
"name": "stage-host-1",
|
||||
"ip": "10.64.0.1",
|
||||
"dns_label": "stage-host-1.netbird.cloud",
|
||||
"user_id": "google-oauth2|277474792786460067937"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
```json {{ title: 'Schema' }}
|
||||
@@ -447,7 +458,16 @@ echo $response;
|
||||
"dns_label": "string",
|
||||
"login_expiration_enabled": "boolean",
|
||||
"login_expired": "boolean",
|
||||
"last_login": "string"
|
||||
"last_login": "string",
|
||||
"accessible_peers": [
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"ip": "string",
|
||||
"dns_label": "string",
|
||||
"user_id": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
@@ -718,7 +738,16 @@ echo $response;
|
||||
"dns_label": "stage-host-1.netbird.cloud",
|
||||
"login_expiration_enabled": false,
|
||||
"login_expired": false,
|
||||
"last_login": "2023-05-05T09:00:35.477782Z"
|
||||
"last_login": "2023-05-05T09:00:35.477782Z",
|
||||
"accessible_peers": [
|
||||
{
|
||||
"id": "chacbco6lnnbn6cg5s90",
|
||||
"name": "stage-host-1",
|
||||
"ip": "10.64.0.1",
|
||||
"dns_label": "stage-host-1.netbird.cloud",
|
||||
"user_id": "google-oauth2|277474792786460067937"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
```json {{ title: 'Schema' }}
|
||||
@@ -745,7 +774,16 @@ echo $response;
|
||||
"dns_label": "string",
|
||||
"login_expiration_enabled": "boolean",
|
||||
"login_expired": "boolean",
|
||||
"last_login": "string"
|
||||
"last_login": "string",
|
||||
"accessible_peers": [
|
||||
{
|
||||
"id": "string",
|
||||
"name": "string",
|
||||
"ip": "string",
|
||||
"dns_label": "string",
|
||||
"user_id": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
@@ -182,7 +182,8 @@ echo $response;
|
||||
],
|
||||
"is_current": true,
|
||||
"is_service_user": false,
|
||||
"is_blocked": false
|
||||
"is_blocked": false,
|
||||
"issued": "api"
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -200,7 +201,8 @@ echo $response;
|
||||
],
|
||||
"is_current": "boolean",
|
||||
"is_service_user": "boolean",
|
||||
"is_blocked": "boolean"
|
||||
"is_blocked": "boolean",
|
||||
"issued": "string"
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -495,7 +497,8 @@ echo $response;
|
||||
],
|
||||
"is_current": true,
|
||||
"is_service_user": false,
|
||||
"is_blocked": false
|
||||
"is_blocked": false,
|
||||
"issued": "api"
|
||||
}
|
||||
```
|
||||
```json {{ title: 'Schema' }}
|
||||
@@ -511,7 +514,8 @@ echo $response;
|
||||
],
|
||||
"is_current": "boolean",
|
||||
"is_service_user": "boolean",
|
||||
"is_blocked": "boolean"
|
||||
"is_blocked": "boolean",
|
||||
"issued": "string"
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
@@ -785,7 +789,8 @@ echo $response;
|
||||
],
|
||||
"is_current": true,
|
||||
"is_service_user": false,
|
||||
"is_blocked": false
|
||||
"is_blocked": false,
|
||||
"issued": "api"
|
||||
}
|
||||
```
|
||||
```json {{ title: 'Schema' }}
|
||||
@@ -801,7 +806,8 @@ echo $response;
|
||||
],
|
||||
"is_current": "boolean",
|
||||
"is_service_user": "boolean",
|
||||
"is_blocked": "boolean"
|
||||
"is_blocked": "boolean",
|
||||
"issued": "string"
|
||||
}
|
||||
```
|
||||
</CodeGroup>
|
||||
|
||||
Reference in New Issue
Block a user