You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file endpoints.yaml contains invalid OpenAPI syntax.
Existing Syntax:
/filtering_terms:
parameters:
- $ref: '#/components/parameters/skip'
- $ref: '#/components/parameters/limit'get:
description: Get the list of filtering terms handled by this beaconoperationId: getFilteringTermstags:
- Informational endpointsresponses:
'200':
$ref: ./responses/beaconFilteringTermsResponse.yamldefault:
description: An unsuccessful operation.$ref: ./responses/beaconErrorResponse.yaml
Corrected Syntax:
As this file is a response definition, it should be defined as a response object in the OpenAPI specification. The correct syntax should be:
/filtering_terms:
parameters:
- $ref: '#/components/parameters/skip'
- $ref: '#/components/parameters/limit'get:
description: Get the list of filtering terms handled by this beaconoperationId: getFilteringTermstags:
- Informational endpointsresponses:
'200':
description: Successful operation.content:
application/json:
schema:
$ref: ./responses/beaconFilteringTermsResponse.yamldefault:
description: An unsuccessful operation.$ref: ./responses/beaconErrorResponse.yaml
The file
endpoints.yaml
contains invalid OpenAPI syntax.Existing Syntax:
Corrected Syntax:
As this file is a response definition, it should be defined as a
response
object in the OpenAPI specification. The correct syntax should be:Reference:
OpenAPI Specification - Describing Responses
Note:
After fixing the
.yaml
files, the.json
should be fixed as well by running the schema conversion script located in the bin folder.The text was updated successfully, but these errors were encountered: