1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

Review doc fixes

This commit is contained in:
Jake Barnby 2022-10-25 15:53:15 +13:00
parent 34bd0fe93d
commit e3b5919e40
No known key found for this signature in database
GPG key ID: C437A8CC85B96E9C
5 changed files with 4 additions and 3 deletions

View file

@ -22,7 +22,7 @@ App::get('/v1/graphql')
->label('sdk.auth', [APP_AUTH_TYPE_KEY, APP_AUTH_TYPE_SESSION, APP_AUTH_TYPE_JWT])
->label('sdk.namespace', 'graphql')
->label('sdk.method', 'get')
->label('sdk.description', '/docs/references/graphql/query.md')
->label('sdk.description', '/docs/references/graphql/get.md')
->label('sdk.response.code', Response::STATUS_CODE_OK)
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
->label('sdk.response.model', Response::MODEL_ANY)
@ -63,7 +63,7 @@ App::post('/v1/graphql')
->label('sdk.namespace', 'graphql')
->label('sdk.method', 'post')
->label('sdk.methodType', 'graphql')
->label('sdk.description', '/docs/references/graphql/mutate.md')
->label('sdk.description', '/docs/references/graphql/post.md')
->label('sdk.parameters', [
'query' => ['default' => [], 'validator' => new JSON(), 'description' => 'The query or queries to execute.', 'optional' => false],
])

View file

@ -27,6 +27,7 @@ $http = new Server("0.0.0.0", App::getEnv('PORT', 80));
$payloadSize = 6 * (1024 * 1024); // 6MB
$workerNumber = swoole_cpu_num() * intval(App::getEnv('_APP_WORKER_PER_CORE', 6));
$http
->set([
'worker_num' => $workerNumber,

View file

@ -1 +1 @@
Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.
Get a list of all the teams in which the current user is a member. You can use the parameters to filter your results.