-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAPI - GetEthV1ValidatorBlocksWithSlot declared twice #3707
Comments
thanks for raising this one, I'll have a look. |
So it looks like They do come down to 1 implementation, but its got 2 category headings, which is pretty normal in OpenApi. I would probably suggest only importing the The standard api is written by hand into yaml, so you may be able to make use of that, which will probably come out cleaner because of the way it's been written. https://ethereum.github.io/eth2.0-APIs/ It does appear that there's projects mentioning similar to this issue, and they come down to requiring a swagger change. I've upgraded swagger, javalin on our end, but it didn't stop the reported problem, so I'll hold off from any merge for that change. Hopefully there's bits of this that are of use, but currently there appears to be not a lot we can actually do to help rectify this issue on our end. |
Thanks, @rolfyone for the deep explanation. Everything clear - from my side we can close this issue if you would like to keep it as a reference feel free |
It's still accessible once closed, so I'll close it out. Glad that my explanation was helpful, but I was still really hoping to be able to actually make it work for you in preference to explain the complications. If you do use the standard spec and any issues come out of that, please feel free to raise, as we are definitely aiming to keep compliant with the standard specification. |
From Go when I am using
I am getting two files
api_validator_required_api.go
andapi_validator_api.go
both are implementing same items - for exampleI think it should be kept with one of them or moved to a separate file
The text was updated successfully, but these errors were encountered: