Skip to content

Adds TypeSpecGeneratorPlugin. Closes #817 #1131

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

Merged
merged 1 commit into from
Apr 15, 2025

Conversation

waldekmastykarz
Copy link
Collaborator

Adds TypeSpecGeneratorPlugin. Closes #817

For best results start Ollama before testing.

Test config:

{
  "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
  "plugins": [
    {
      "name": "TypeSpecGeneratorPlugin",
      "enabled": true,
      "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
      "configSection": "typeSpecGeneratorPlugin"
    }
  ],
  "urlsToWatch": [
    "https://jsonplaceholder.typicode.com/*"
  ],
  "languageModel": {
    "enabled": true
  },
  "typeSpecGeneratorPlugin": {
    "ignoreResponseTypes": false
  },
  "logLevel": "information",
  "newVersionNotification": "stable",
  "showSkipMessages": true,
  "showTimestamps": true,
  "validateSchemas": true
}

@waldekmastykarz waldekmastykarz requested a review from a team as a code owner April 14, 2025 13:57
@garrytrinder garrytrinder merged commit e9571e1 into dotnet:main Apr 15, 2025
3 checks passed
@waldekmastykarz waldekmastykarz deleted the typespec branch April 15, 2025 10:48
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.

Generate TypeSpec definitions from requests
2 participants