Hi,
i ran into an invalid swagger documentation with the following setup:
Installed nuget in version 1.4.1 and specified multiple methods (get and post) in a http triggered function. I added a screenshot of the function:
The generated definition now contains two operation ids with the same name ("Run"):
_[…]
/api/test:
get:
tags:
Swagger Online Validator Error Message:
{"messages":["attribute paths.'/api/test'(get).operationId is repeated","attribute paths.'/api/test'(post).operationId is repeated"]}
Swagger Editor Error Message:
Semantic error at paths./api/test.get.operationId
Operations must have unique operationIds.
Jump to line 28
Semantic error at paths./api/test.post.operationId
Operations must have unique operationIds.
Jump to line 38
Hi, i ran into an invalid swagger documentation with the following setup: Installed nuget in version 1.4.1 and specified multiple methods (get and post) in a http triggered function. I added a screenshot of the function:
The generated definition now contains two operation ids with the same name ("Run"): _[…] /api/test: get: tags:
Swagger Online Validator Error Message: {"messages":["attribute paths.'/api/test'(get).operationId is repeated","attribute paths.'/api/test'(post).operationId is repeated"]}
Swagger Editor Error Message: Semantic error at paths./api/test.get.operationId Operations must have unique operationIds. Jump to line 28 Semantic error at paths./api/test.post.operationId Operations must have unique operationIds. Jump to line 38
Kind Regards