Lot of small changes
This commit is contained in:
18
vim/.vim/UltiSnips/openapi.snippets
Normal file
18
vim/.vim/UltiSnips/openapi.snippets
Normal file
@ -0,0 +1,18 @@
|
||||
snippet base "Base" b
|
||||
openapi: 3.0.0
|
||||
info:
|
||||
title: ${1:${VISUAL:Title}}
|
||||
description: ${2:${VISUAL:Title}}
|
||||
version: 0.0.1
|
||||
|
||||
servers:
|
||||
- url: ${3:${VISUAL:https://example.com/api}}
|
||||
description: ${4:${VISUAL:default api point for the service}}
|
||||
|
||||
$0
|
||||
endsnippet
|
||||
|
||||
snippet desc "Description" b
|
||||
description: ${1:${VISUAL:Description}}
|
||||
endsnippet
|
||||
|
Reference in New Issue
Block a user