indice-co / indice-co/Incontrl.Net

Error generating Rest API client code in VS

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Dear team,

While trying to add a **REST API client** in a universal app I get the following error :

[Fatal]Error generating client model: Found operation objects with **duplicate operationId 'GetInvoiceType'**. OperationId must be unique among all operations described in the API.
Exception: There was an error during code generation when trying to add a client for the REST API

repro steps: start new UWP (project type is not of great importance I think), add REST API client

BR,

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce this by creating a new UWP project in Visual Studio and using Add REST API client with the API that contains duplicate operationId 'GetInvoiceType'. Start by tracing the client-generation failure and identify the relevant API definition or generation entry point; done means the REST API client generates without the duplicate-operation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.