Skip to content

Commit

Permalink
feat: add api authorization hint and rc systemuser id in properties
Browse files Browse the repository at this point in the history
  • Loading branch information
mebo4b committed Nov 13, 2020
1 parent 2fe8723 commit af779bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/messageservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ paths:
post:
tags:
- message-controller
summary: 'Save a draft message'
summary: 'Save a draft message [Authorization: Role: user, consultant]'
operationId: saveDraftMessage
parameters:
- name: RCGroupId
Expand Down Expand Up @@ -261,7 +261,7 @@ paths:
get:
tags:
- message-controller
summary: 'Get a draft message by user and rocket chat group id'
summary: 'Get a draft message by user and rocket chat group id [Authorization: Role: user, consultant]'
operationId: findDraftMessage
parameters:
- name: RCGroupId
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ rocket.chat.api.user.logout=${rocket.chat.api.url}/logout
rocket.chat.api.post.group.messages.read.url=${rocket.chat.api.url}/subscriptions.read
rocket.chat.api.get.group.info=${rocket.chat.api.url}/groups.info
rocket.technical.username=
rocket.systemuser.id=
rocket.credentialscheduler.cron=0 0 0/1 * * ?

# Springfox/API documentation
Expand Down

0 comments on commit af779bd

Please sign in to comment.