Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 2.55 KB

File metadata and controls

35 lines (25 loc) · 2.55 KB

Power Platform Connectors Snippets

This extension will help you develop Power Platform Connectors. It will provide snippets to help you develop custom connectors more easily. The snippets will contain all the properties that you need and the samples in the snippets will adhere to best practices.

See the changelog for the latest changes.

Usage

Type part of a snippet and press enter, the code will then be added into the file. Or press Ctrl+Space (Windows, Linux) or Cmd+Space (macOS) to activate snippets from within the editor.

JSON

Snippet Purpose
ppc-def This snippet contains a definition object with the first property included.
ppc-file-new This snippet contains a skeleton for a new Open API file, which you can use to start creating your connector.
ppc-op This snippet contains an operation, which you can use to define a new operation.
ppc-op-method This snippet contains a method object, which you can use to define an extra method inside an operation.
ppc-prop-bool This snippet contains a property of the type 'boolean' with the 'x-ms-summary', 'description' and 'type' properties included.
ppc-prop-double This snippet contains a property of the type 'double' with the 'x-ms-summary', 'description', 'type' and 'format' properties included.
ppc-prop-int32-enum This snippet contains a property of the type 'integer' with the 'x-ms-summary', 'description', 'type', 'format' and 'enum' properties included.
ppc-prop-int32 This snippet contains a property of the type 'integer' with the 'x-ms-summary', 'description', 'type' and 'format' properties included.
ppc-prop-string-enum This snippet contains a property of the type 'string' with the 'x-ms-summary', 'description', 'type' and 'enum' properties included.
ppc-prop-string This snippet contains a property of the type 'string' with the 'x-ms-summary', 'description' and 'type' properties included.
ppc-prop-ref-arr This snippet contains an array with items that point to a definition.
ppc-prop-ref This snippet contains a property with a reference that points to a definition.
ppc-resp This snippet contains a response object with a reference that points to a definition.

Samples

Samples for every snippet are available in the sample-snippets directory in this repo.

Feedback and snippet ideas

Feedback and/or snippet ideas are always welcome. Please submit them via creating an issue in the extension repository: issue list.