Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

v6.4 with angular and RAD (Swashbuckle version v4.x needs server side template changes) #6321


User avatar
0
AidanCostcoAU created

Hi,

We just learnt that Swashbuckle v4 no longer builds unique OperationId's in the swagger Json. Previously the operationid was a concatentation of the uri, method, and http type.

The RAD tool is still generating operation names which are not unique (such as GetAll, Delete etc), so these now flow through to non-standard swagger json, which cannot be consumed by other tools.

I can override templates, but please update the base templates.

for existing/regen I should offer some options:

  1. generate globally unique method signatures (but will break existing API clients)
  2. leave the method signatures the same, but add the swashbuckle aware annotations which render the published operationid as unique - I think this might allow compatibility with existing API clients
  3. implement a swashbuckle document processor to achieve the unique operationid's

thanks


1 Answer(s)