pinax-network / substreams-sink-clickhouse

Substreams ClickHouse Sink
MIT License
3 stars 0 forks source link

INVALID openapi #47

Closed JulienR1 closed 11 months ago

JulienR1 commented 11 months ago

https://substreams-sink-clickhouse-production-ad27.up.railway.app/

https://validator.swagger.io/validator/debug?url=https%3A%2F%2Fsubstreams-sink-clickhouse-production-ad27.up.railway.app%2Fopenapi

{"messages":["attribute paths.'/webhook'(post).parameters.[x-signature-timestamp].content is missing","attribute paths.'/webhook'(post).parameters.[x-signature-ed25519].content is missing"]}

Also include license: https://github.com/pinax-network/substreams-erc20-api/blob/61c2a38b29104c898ab197d4a93d50eef62eba77/src/fetch/openapi.ts#L72

image

JulienR1 commented 11 months ago

Adjusted spec according to https://validator.swagger.io/ (executed on Railway) and https://editor-next.swagger.io/ (validates in realtime, but does not execute exactly the same validation as on Railway).

Result:

image