Hey all
operationId: Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.
I am slightly confused about this :
if I have 2 models (Customer and Order) does this mean that a "find" method must be unique across both, or just within the model ? (ie is the API the model or all models ? )
So I tried an experiment: I have 2 operationId's of "find" : 1 on the customer and one on the order
I then ran swagger codegen and it didn't complain about uniqueness.
I then added *another* "find" to the Customer model, and this time codegen did complain about non-unique operationid's - and renamed it to find_1
So - is swagger-codegen wrong, or are operationId's unique within a model and not the whole API ?
Thanks