Referencing Domain defined parameter in OpenAPI 3.0
I'm trying to define a parameter in a Domain, then use that common paramter in an API's parameters block. Doesn't seem to be working. The Domain and API are both OpenAPI v3.0.
In Domain:
...
####################
# Common parameters
####################
parameters:
MyCommonParameter:
in: query
name: "MyParameter"
description: "My common paramter."
required: false
schema:
type: string
enum:
- "1"
...
In the api def:
...
parameters:
- $ref: 'https://api.swaggerhub.com/domains/mine/mymodels/1.0#/components/parameters/MyCommonParameter'
...
It seems to work when viewing the documentation, but the api edit page, at the top, shows: "1 x Integrations Errors". Still saves, still works. Seems like a bug in the editor, but want to make sure I'm using it as expected.
Apparently it's something else. Seems to be working fine.