|
@@ -261,7 +261,7 @@ usersScope.defineOperation({
|
|
|
path: '/{id}',
|
|
path: '/{id}',
|
|
|
method: OAOperationMethod.GET,
|
|
method: OAOperationMethod.GET,
|
|
|
operation: {
|
|
operation: {
|
|
|
- summary: 'Get user by id',
|
|
|
|
|
|
|
+ summary: 'Find user',
|
|
|
responses: {
|
|
responses: {
|
|
|
200: {
|
|
200: {
|
|
|
description: 'User found',
|
|
description: 'User found',
|
|
@@ -275,7 +275,7 @@ usersScope.defineOperation({
|
|
|
path: '/{id}',
|
|
path: '/{id}',
|
|
|
method: OAOperationMethod.DELETE,
|
|
method: OAOperationMethod.DELETE,
|
|
|
operation: {
|
|
operation: {
|
|
|
- summary: 'Delete user by id',
|
|
|
|
|
|
|
+ summary: 'Delete user',
|
|
|
responses: {
|
|
responses: {
|
|
|
200: {
|
|
200: {
|
|
|
description: 'User deleted',
|
|
description: 'User deleted',
|
|
@@ -305,7 +305,7 @@ adminScope.defineOperation({
|
|
|
path: '/users/{id}',
|
|
path: '/users/{id}',
|
|
|
method: OAOperationMethod.DELETE,
|
|
method: OAOperationMethod.DELETE,
|
|
|
operation: {
|
|
operation: {
|
|
|
- summary: 'Delete user by id',
|
|
|
|
|
|
|
+ summary: 'Delete user',
|
|
|
responses: {
|
|
responses: {
|
|
|
200: {
|
|
200: {
|
|
|
description: 'User deleted',
|
|
description: 'User deleted',
|