Skip to content

Commit 4f34ead

Browse files
committed
feat(Slack): add type to parameters
1 parent 9cf2b18 commit 4f34ead

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/services/slack.ts

+5
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ export class Slack {
229229
style: {
230230
code: true
231231
}
232+
},
233+
{
234+
type: 'text',
235+
text: ` : ${param.type}`
232236
}
233237
]
234238
}
@@ -248,6 +252,7 @@ export class Slack {
248252
}
249253
]
250254
},
255+
251256
{
252257
type: 'rich_text_section',
253258
elements: [

src/utils/validate-input.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ export function validateInputAndSetConfig(): Config {
7676
let headFile: object
7777
if (isLocal) {
7878
baseFile = JSON.parse(
79-
fs.readFileSync('./.local/examples/openapi-base.json').toString()
79+
fs.readFileSync('./.local/examples/openapi-base-aws.json').toString()
8080
)
8181
headFile = JSON.parse(
82-
fs.readFileSync('./.local/examples/openapi-head.json').toString()
82+
fs.readFileSync('./.local/examples/openapi-head-aws.json').toString()
8383
)
8484
} else {
8585
// github env

0 commit comments

Comments
 (0)