Skip to content

Support for Kiota #1458

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

Closed
bkoelman opened this issue Feb 7, 2024 · 3 comments
Closed

Support for Kiota #1458

bkoelman opened this issue Feb 7, 2024 · 3 comments
Labels

Comments

@bkoelman
Copy link
Member

bkoelman commented Feb 7, 2024

Add support for using Kiota to generate a C# client, aside from the existing NSwag support.

  • Rename JsonApiDotNetCore.OpenApi.Client to JsonApiDotNetCore.OpenApi.Client.NSwag
  • Create sample
  • Create tests
    • Make server-side tests write their swagger.g.json elsewhere during testrun, not directly into the client project(s)
  • Update documentation

An initial experiment is available at https://github.com/json-api-dotnet/JsonApiDotNetCore/tree/openapi-tryout-kiota.

@bkoelman
Copy link
Member Author

Related: should set OutputPath for NSwag in the example project and/or LegacyOpenApiIntegration. This makes it easy to spot how the generated client changes when trying out different switches or updating to a newer version.

@bkoelman
Copy link
Member Author

bkoelman commented Feb 12, 2024

Should include a test that verifies public IDictionary<string, object> AdditionalData { get; set; } is only generated for meta properties.

@bkoelman
Copy link
Member Author

Should clean up references to Swashbuckle* packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant