DapperDox/dapperdox

OpenAPI 3 issue with operationId

Opened this issue · 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.

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 :/

erans commented

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

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.

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