Skip to content

OpenAPI "data and type mismatch found" #587

@Thorium

Description

@Thorium

I'm trying to read this schema:
https://developer.experian.com/system/files/2020-12/credit-profile-product-apis-v-openapi3.2.0.45.yaml

I'm getting a lot of "Data and type mismatch found" errors.
And indeed, it seems that the types vary:
permissiblePurpose/type seems to be sometimes 08 and sometimes '08' and sometimes just ''.

Is the schema totally un-usable wtih OpenAPI.NET, or is it still possible to use it by forcing the types manually (with some parameter maybe?), so that the type is "either string or int" or "force to string"?

I don't care the solution details, I do care a workaround to get this ~10k lines of type-definitions into use easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions