|
| 1 | +import { |
| 2 | + ApidomCompletionItem, |
| 3 | + CompletionFormat, |
| 4 | + CompletionType, |
| 5 | +} from '../../../../apidom-language-types'; |
| 6 | + |
| 7 | +const componentsComplete: ApidomCompletionItem[] = [ |
| 8 | + { |
| 9 | + label: 'schemas', |
| 10 | + insertText: 'schemas', |
| 11 | + kind: 14, |
| 12 | + format: CompletionFormat.OBJECT, |
| 13 | + type: CompletionType.PROPERTY, |
| 14 | + insertTextFormat: 2, |
| 15 | + documentation: { |
| 16 | + kind: 'markdown', |
| 17 | + value: |
| 18 | + 'Map[`string`, [Schema Object](https://www.asyncapi.com/docs/specifications/v2.2.0#schemaObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Schema Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#schemaObject).', |
| 19 | + }, |
| 20 | + }, |
| 21 | + { |
| 22 | + label: 'messages', |
| 23 | + insertText: 'messages', |
| 24 | + kind: 14, |
| 25 | + format: CompletionFormat.OBJECT, |
| 26 | + type: CompletionType.PROPERTY, |
| 27 | + insertTextFormat: 2, |
| 28 | + documentation: { |
| 29 | + kind: 'markdown', |
| 30 | + value: |
| 31 | + 'Map[`string`, [Message Object](https://www.asyncapi.com/docs/specifications/v2.2.0#messageObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Message Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#messageObject).', |
| 32 | + }, |
| 33 | + }, |
| 34 | + { |
| 35 | + label: 'securitySchemes', |
| 36 | + insertText: 'securitySchemes', |
| 37 | + kind: 14, |
| 38 | + format: CompletionFormat.OBJECT, |
| 39 | + type: CompletionType.PROPERTY, |
| 40 | + insertTextFormat: 2, |
| 41 | + documentation: { |
| 42 | + kind: 'markdown', |
| 43 | + value: |
| 44 | + 'Map[`string`, [Security Scheme Object](https://www.asyncapi.com/docs/specifications/v2.2.0#securitySchemeObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Security Scheme Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#securitySchemeObject).', |
| 45 | + }, |
| 46 | + }, |
| 47 | + { |
| 48 | + label: 'parameters', |
| 49 | + insertText: 'parameters', |
| 50 | + kind: 14, |
| 51 | + format: CompletionFormat.OBJECT, |
| 52 | + type: CompletionType.PROPERTY, |
| 53 | + insertTextFormat: 2, |
| 54 | + documentation: { |
| 55 | + kind: 'markdown', |
| 56 | + value: |
| 57 | + 'Map[`string`, [Parameter Object](https://www.asyncapi.com/docs/specifications/v2.2.0#parameterObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Parameter Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#parameterObject).', |
| 58 | + }, |
| 59 | + }, |
| 60 | + { |
| 61 | + label: 'correlationIds', |
| 62 | + insertText: 'correlationIds', |
| 63 | + kind: 14, |
| 64 | + format: CompletionFormat.OBJECT, |
| 65 | + type: CompletionType.PROPERTY, |
| 66 | + insertTextFormat: 2, |
| 67 | + documentation: { |
| 68 | + kind: 'markdown', |
| 69 | + value: |
| 70 | + 'Map[`string`, [Correlation ID Object](https://www.asyncapi.com/docs/specifications/v2.2.0#correlationIdObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Correlation ID Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#correlationIdObject).', |
| 71 | + }, |
| 72 | + }, |
| 73 | + { |
| 74 | + label: 'operationTraits', |
| 75 | + insertText: 'operationTraits', |
| 76 | + kind: 14, |
| 77 | + format: CompletionFormat.OBJECT, |
| 78 | + type: CompletionType.PROPERTY, |
| 79 | + insertTextFormat: 2, |
| 80 | + documentation: { |
| 81 | + kind: 'markdown', |
| 82 | + value: |
| 83 | + 'Map[`string`, [Operation Trait Object](https://www.asyncapi.com/docs/specifications/v2.2.0#operationTraitObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Operation Trait Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#operationTraitObject).', |
| 84 | + }, |
| 85 | + }, |
| 86 | + { |
| 87 | + label: 'messageTraits', |
| 88 | + insertText: 'messageTraits', |
| 89 | + kind: 14, |
| 90 | + format: CompletionFormat.OBJECT, |
| 91 | + type: CompletionType.PROPERTY, |
| 92 | + insertTextFormat: 2, |
| 93 | + documentation: { |
| 94 | + kind: 'markdown', |
| 95 | + value: |
| 96 | + 'Map[`string`, [Message Trait Object](https://www.asyncapi.com/docs/specifications/v2.2.0#messageTraitObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Message Trait Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#messageTraitObject).', |
| 97 | + }, |
| 98 | + }, |
| 99 | + { |
| 100 | + label: 'serverBindings', |
| 101 | + insertText: 'serverBindings', |
| 102 | + kind: 14, |
| 103 | + format: CompletionFormat.OBJECT, |
| 104 | + type: CompletionType.PROPERTY, |
| 105 | + insertTextFormat: 2, |
| 106 | + documentation: { |
| 107 | + kind: 'markdown', |
| 108 | + value: |
| 109 | + 'Map[`string`, [Server Bindings Object](https://www.asyncapi.com/docs/specifications/v2.2.0#serverBindingsObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Server Bindings Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#serverBindingsObject).', |
| 110 | + }, |
| 111 | + }, |
| 112 | + { |
| 113 | + label: 'channelBindings', |
| 114 | + insertText: 'channelBindings', |
| 115 | + kind: 14, |
| 116 | + format: CompletionFormat.OBJECT, |
| 117 | + type: CompletionType.PROPERTY, |
| 118 | + insertTextFormat: 2, |
| 119 | + documentation: { |
| 120 | + kind: 'markdown', |
| 121 | + value: |
| 122 | + 'Map[`string`, [Channel Bindings Object](https://www.asyncapi.com/docs/specifications/v2.2.0#channelBindingsObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Channel Bindings Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#channelBindingsObject).', |
| 123 | + }, |
| 124 | + }, |
| 125 | + { |
| 126 | + label: 'operationBindings', |
| 127 | + insertText: 'operationBindings', |
| 128 | + kind: 14, |
| 129 | + format: CompletionFormat.OBJECT, |
| 130 | + type: CompletionType.PROPERTY, |
| 131 | + insertTextFormat: 2, |
| 132 | + documentation: { |
| 133 | + kind: 'markdown', |
| 134 | + value: |
| 135 | + 'Map[`string`, [Operation Bindings Object](https://www.asyncapi.com/docs/specifications/v2.2.0#operationBindingsObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Operation Bindings Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#operationBindingsObject).', |
| 136 | + }, |
| 137 | + }, |
| 138 | + { |
| 139 | + label: 'messageBindings', |
| 140 | + insertText: 'messageBindings', |
| 141 | + kind: 14, |
| 142 | + format: CompletionFormat.OBJECT, |
| 143 | + type: CompletionType.PROPERTY, |
| 144 | + insertTextFormat: 2, |
| 145 | + documentation: { |
| 146 | + kind: 'markdown', |
| 147 | + value: |
| 148 | + 'Map[`string`, [Message Bindings Object](https://www.asyncapi.com/docs/specifications/v2.2.0#messageBindingsObject) | [Reference Object](https://www.asyncapi.com/docs/specifications/v2.2.0#referenceObject)]\n\n ---- \n\nAn object to hold reusable [Message Bindings Objects](https://www.asyncapi.com/docs/specifications/v2.2.0#messageBindingsObject).', |
| 149 | + }, |
| 150 | + }, |
| 151 | +]; |
| 152 | + |
| 153 | +export default componentsComplete; |
0 commit comments