Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: document exposed interop functions #6142

Conversation

thewahome
Copy link
Contributor

@thewahome thewahome commented Feb 12, 2025

Overview

Closes #6085

Notes

Sample from readme:

Kiota Interop Library

This library provides various functions to interact with Kiota, a client generator for HTTP REST APIs described by OpenAPI.

Installation

Provide instructions on how to install the project.

npm install kiota-Interop

Usage

getKiotaTree

Returns a tree of the open api description.

generateClient

Generates a client based on the provided client generation options.

generatePlugin

The function connects to Kiota and sends a request to generate a plugin using the provided options.
It handles the response and checks for success, returning the result or throwing an error if one occurs.

getKiotaVersion

Retrieves the version of Kiota by connecting to the Kiota service.

getManifestDetails

Retrieves the manifest details for a given API.

getLanguageInformationInternal

Retrieves language information by connecting to Kiota

getLanguageInformationForDescription

Retrieves language information based on the provided description URL.

migrateFromLockFile

Migrates data from a lock file located in the specified directory.

removePlugin

Removes a plugin from the Kiota environment.

removeClient

Removes a client using the provided configuration.

searchDescription

Searches for a description based on the provided search term and cache settings.

updateClients

Updates the clients in the Kiota environment.

@thewahome thewahome requested a review from a team as a code owner February 12, 2025 12:55
@thewahome thewahome marked this pull request as draft February 12, 2025 12:55
@thewahome thewahome force-pushed the task/extension/document-exposed-interop-functions branch from 0230232 to b3389da Compare February 13, 2025 07:05
@thewahome thewahome marked this pull request as ready for review February 13, 2025 12:17
…o task/extension/document-exposed-interop-functions
…o task/extension/document-exposed-interop-functions
@thewahome
Copy link
Contributor Author

Thinking of changing the function names to be more descriptive. For example showKiotaResult is vague

…o task/extension/document-exposed-interop-functions
…o task/extension/document-exposed-interop-functions
@thewahome thewahome merged commit bd8ff50 into task/extension/remove-kiota-interop-tight-coupling Feb 18, 2025
219 of 242 checks passed
@thewahome thewahome deleted the task/extension/document-exposed-interop-functions branch February 18, 2025 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add readme to document the functions exposed by the Kiota interop module
2 participants