dapperdox icon indicating copy to clipboard operation
dapperdox copied to clipboard

OpenAPI 3 issue with operationId

Open ghost opened this issue 5 years ago • 4 comments

We have encountered an issue while using an OpenAPI 3 specification.

Error: Operation 'getContractVersionDocument' does not have an operationId or summary member.

In our spec, the operationId is what is being returned as getContractVersionDocument so I am very confused as to why this issue is being raised. How come it needs a summary if it already knows the operationId.

I have tried to follow this through the code, sadly I don't code in go and have got very lost.

ghost avatar Sep 05 '18 16:09 ghost

I have tested this with the Petstore example in OpenAPI v3 and it fails with the same error.

It looks to me like the binary download of this project doesn't support v3 of the spec :/

ghost avatar Sep 05 '18 21:09 ghost

As far as I can see issue #63 is still open which means DapperDox at the moment doesn't support OpenAPI 3.0

erans avatar Dec 04 '18 23:12 erans

I see the same error when using OpenAPI 2 specification (I'm on macOS)

The operationId field is definietly there but I don't have summaries.

tadeoos avatar Jul 24 '19 08:07 tadeoos

I am running into the same issue with "swagger":"2.0

Abhishek-Bajpai avatar Sep 11 '19 17:09 Abhishek-Bajpai