Files
microsoft--semantic-kernel/python/samples/concepts/plugins/openapi
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00
..

Running the OpenAPI syntax example

For more generic setup instructions, including how to install the uv tool, see the main README.

  1. In a terminal, navigate to semantic_kernel/python/samples/concepts/plugins/openapi.

  2. Run uv sync followed by source .venv/bin/activate to enter the virtual environment (depending on the os, the activate script may be in a different location).

  3. Start the server by running python openapi_server.py.

  4. In another terminal, do steps 1 & 2. Then, run python openapi_client.py, which will register a plugin representing the API defined in openapi.yaml