blockfrost / openapi

OpenAPI specification for Blockfrost.io service
https://docs.blockfrost.io
MIT License
22 stars 16 forks source link

Extracting Microsoft.OpenApi.Readers.OpenApiDiagnostics on v0.1.26 #119

Closed tweakch closed 3 years ago

tweakch commented 3 years ago

Hi,

A unit test for the blockfrost .NET SDK (blockfrost-dotnet) is failing due to some minor issues in the specification.

{
    "Errors": [
        {
            "Message": "Data and type mismatch found.",
            "Pointer": "#/paths/~1health~1clock/get/responses/200/content/application~1json/schema/properties/server_time/example"
        },
        {
            "Message": "Data and type mismatch found.",
            "Pointer": "#/components/schemas/metrics/example/0"
        },
        {
            "Message": "Data and type mismatch found.",
            "Pointer": "#/components/schemas/metrics_endpoints/example/0"
        }
    ],
    "SpecificationVersion": 1
}

I will submit a pull request with the changes to the yaml that resolved the issue on my side for you to verify.