- adds generate and update settings to extension

This commit is contained in:
Vincent Biret 2023-10-12 14:40:01 -04:00
Родитель cf896eb3ba
Коммит 6c2703cbb2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 32426322EDFFB7E3
2 изменённых файлов: 68 добавлений и 1 удалений

Просмотреть файл

@ -23,6 +23,65 @@
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"configuration": {
"title": "Kiota",
"properties": {
"kiota.generate.backingStore.enabled": {
"type":"boolean",
"default": false,
"description": "%kiota.generate.backingStore.description%"
},
"kiota.generate.excludeBackwardCompatible.enabled": {
"type":"boolean",
"default": false,
"description": "%kiota.generate.excludeBackwardCompatible.description%"
},
"kiota.cleanOutput.enabled": {
"type":"boolean",
"default": false,
"description": "%kiota.cleanOutput.description%"
},
"kiota.generate.disableValidationRules": {
"type":"array",
"default": [],
"description": "%kiota.generate.disableValidationRules.description%"
},
"kiota.clearCache.enabled": {
"type":"boolean",
"default": false,
"description": "%kiota.clearCache.description%"
},
"kiota.generate.serializer.CSharp": {
"type":"array",
"default": [
"Microsoft.Kiota.Serialization.Json.JsonSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Text.TextSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Form.FormSerializationWriterFactory",
"Microsoft.Kiota.Serialization.Multipart.MultipartSerializationWriterFactory"
],
"description": "%kiota.generate.serializer.description%"
},
"kiota.generate.deserializer.CSharp": {
"type":"array",
"default": [
"Microsoft.Kiota.Serialization.Json.JsonParseNodeFactory",
"Microsoft.Kiota.Serialization.Text.TextParseNodeFactory",
"Microsoft.Kiota.Serialization.Form.FormParseNodeFactory"
],
"description": "%kiota.generate.deserializer.description%"
},
"kiota.generate.structuredMimeTypes": {
"type":"array",
"default": [
"application/json;q=1",
"application/x-www-form-urlencoded;q=0.2",
"multipart/form-data;q=0.1",
"text/plain;q=0.9"
],
"description": "%kiota.generate.structuredMimeTypes.description%"
}
}
},
"viewsWelcome": [
{
"view": "kiota.openApiExplorer",

Просмотреть файл

@ -20,5 +20,13 @@
"kiota.openApiExplorer.filterDescription.title": "Filter API description",
"kiota.openApiExplorer.openDocumentationPage.title": "Open documentation page",
"kiota.openApiExplorer.openManifestPath.title": "Open API manifest",
"kiota.openApiExplorer.pasteManifest.title": "Paste API manifest"
"kiota.openApiExplorer.pasteManifest.title": "Paste API manifest",
"kiota.generate.backingStore.description": "Enables backing store for models",
"kiota.generate.excludeBackwardCompatible.description": "Excludes backward compatible and obsolete assets from the generated result. Should be used for new clients",
"kiota.cleanOutput.description": "Removes all files from the output directory before generating the code files",
"kiota.generate.disableValidationRules.description": "The OpenAPI description validation rules to disable: \nDivergentResponseSchema\nGetWithBody\nInconsistentTypeFormatPair\nKnownAndNotSupportedFormats\nMissingDiscriminator\nMultipleServerEntries\nNoContentWithBody\nNoServerEntry\nUrlFormEncodedComplex\nValidationRuleSetExtensions\nAll",
"kiota.clearCache.description": "Clears any cached data",
"kiota.generate.serializer.description": "The fully qualified class names for serializers",
"kiota.generate.deserializer.description": "The fully qualified class names for deserializers",
"kiota.generate.structuredMimeTypes.description": "The MIME types and preference to use for structured data model generation. As per RFC9110 Accept header notation."
}