Closed christianhelle closed 1 year ago
Learn Build status updates of commit 2a6f3ef:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :warning:Warning | Details | |
OpenAPI/kiota/images/community/rest-api-client-generator/add-new.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/custom-tool-experience.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/generate-from-existing.png | :white_check_mark:Succeeded |
Cannot find bookmark '#install-rest-api-client-code-generator' in 'kiota/install.md'.
Link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Absolute link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
@microsoft-github-policy-service agree
Learn Build status updates of commit be2f9d7:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :warning:Warning | Details | |
OpenAPI/kiota/images/community/rest-api-client-generator/add-new.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/custom-tool-experience.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/generate-from-existing.png | :white_check_mark:Succeeded |
Link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Absolute link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
Learn Build status updates of commit 5d1f463:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :bulb:Suggestion | Details | |
OpenAPI/kiota/images/community/rest-api-client-generator/add-new.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/custom-tool-experience.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/generate-from-existing.png | :white_check_mark:Succeeded |
Absolute link 'https://learn.microsoft.com/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
Sorry but I don't know how to resolve
Line 110, Column 44: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
Ay hints?
Learn Build status updates of commit 6493a54:
Please follow instructions here which may help to resolve issue.
File | Status | Preview URL | Details |
---|---|---|---|
[]() | :x:Error | Details |
Cannot merge commit 6493a547b3a9905d0ad1efdfa048632687331485 in branch main of repository https://github.com/christianhelle/openapi-docs into branch main (commit e946993896af96edbcb68f9a1591cbfd7c18809e). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
Learn Build status updates of commit 9e908d9:
Please follow instructions here which may help to resolve issue.
File | Status | Preview URL | Details |
---|---|---|---|
[]() | :x:Error | Details |
Cannot merge commit 9e908d90436ba609015e9ba0197d7505e67a1ca6 in branch main of repository https://github.com/christianhelle/openapi-docs into branch main (commit e946993896af96edbcb68f9a1591cbfd7c18809e). Please follow this documentation: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ to use git.exe to resolve you content conflicts locally and then push to remote.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
Learn Build status updates of commit 70ab427:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :bulb:Suggestion | Details | |
OpenAPI/kiota/images/community/rest-api-client-generator/add-new.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/custom-tool-experience.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/generate-from-existing.png | :white_check_mark:Succeeded |
Absolute link 'https://learn.microsoft.com/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
For more details, please refer to the build report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:
Sorry but I don't know how to resolve
Line 110, Column 44: [Suggestion: docs-link-absolute - See documentation]
Absolute link 'https://learn.microsoft.com/en-us/visualstudio/ide/finding-and-using-visual-studio-extensions' will be broken in isolated environments. Replace with a relative link.
Ay hints?
@christianhelle remove the https://learn.microsoft.com/en-us
bit from the URL to make it relative.
Learn Build status updates of commit a4a021f:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/images/community/rest-api-client-generator/add-new.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/custom-tool-experience.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/images/community/rest-api-client-generator/generate-from-existing.png | :white_check_mark:Succeeded | ||
OpenAPI/kiota/install.md | :white_check_mark:Succeeded |
For more details, please refer to the build report.
For any questions, please:
Learn Build status updates of commit fea50b9:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :white_check_mark:Succeeded |
For more details, please refer to the build report.
For any questions, please:
Learn Build status updates of commit 9aaed64:
File | Status | Preview URL | Details |
---|---|---|---|
OpenAPI/kiota/install.md | :white_check_mark:Succeeded |
For more details, please refer to the build report.
For any questions, please:
The changes here are based off a suggestion by @baywet in this discussion to add information about REST API Client Code Generator as a community provided tooling option for Kiota.
I added the following to
install.md
REST API Client Code Generator
REST API Client Code Generator is a collection of Visual Studio C# custom tool code generators for OpenAPI specifications. This extension will install Kiota on-demand and will also add the required NuGet packages to build the generated code to the project. The generated code is created as a "code-behind" file to the OpenAPI specifications file in the .NET project. This extension offers same-day releases for new Kiota versions, but this requires updating the extension, which can be configured to be automatically.
Installation:
From Visual Studio (Windows), using the Manage Extensions dialog box (Tools -> Manage Extensions), search for extension called REST API Client Code Generator. This extension is available for Visual Studio 2022 for AMD64 and ARM64 and Visual Studio 2019
For Visual Studio for Mac, follow these instructions
Click on the Download button. The extension will be installed after closing Visual Studio so you will need to do a restart
Usage:
To generate code using Kiota, Right click on a project or location under a project and select Add -> New REST API Client -> Generate with Microsoft Kiota
This will prompt you for a URL to download the OpenAPI specifications file.
If the operation worked successfully then you should see a code-behind file for the OpenAPI specifications. Once you have generated code, all changes to the OpenAPI specifications file will trigger a re-generation of the code-behind file via the KiotaCodeGenerator custom tool
If you already have a OpenAPI specifications file in the project, then you can also generate code using Kiota by right clicking on the file then selecting REST API Client Generator -> Generate with Microsoft Kiota