Description
I'm trying to register https://api.monarchinitiative.org/api/swagger.json
I get this, which is fairly opaque:
OAS3] '': 'basePath', 'consumes', 'definitions', 'produces', 'responses', 'swagger' do not match any of the regexes: '^x-'
Because I'm somewhat familiar with OpenAPI I know this is something to do with x-
fields, but I'm still at a loss as to how to change my flask code to fix this (and I don't want to have to keep a separate description in sync). And I'm relatively experienced, others coming to this will be more puzzled.
Ideally this would link to a FAQ, but I think overall it would be better if SmartAPI were more tolerant. What does it matter if there are some additional fields it doesn't know about? Why should this block registration?
I know we have a current entry for the monarch biolink instance which comes from here https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/biolink/openapi.yml
but this looks like it has been heavily tweaked from the source, and in the intervening time we have added new routes