This repository was archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 200
Valid OpenAPI spec not parsed correctly when creating an API Connector #9860
Comments
Here's a copy of the specification: openapi: 3.0.2
info:
title: New API
version: 1.0.0
description: Product System API
paths:
/products:
summary: Products
description: Product Collection
get:
responses:
'200':
$ref: '#/components/responses/ProductCollection'
operationId: all-products
summary: Product Collection
description: Retrieve Product Collection
components:
schemas:
Product:
title: Root Type for Product
description: Product Resource
required:
- description
- id
type: object
properties:
id:
description: Product id
type: string
name:
description: Product name
type: string
description:
description: Product description
type: string
isPublic:
format: int32
description: Flag to determine whether this is public
type: integer
example:
id: ajjkas-232n-asdnkkl-2223
name: Product 1
description: Product No. 1
isPublic: 1
responses:
ProductCollection:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Product'
examples:
Product Collection:
value:
-
id: 1231-2sdf-2esdvwe-fdger345
name: Some Product
description: This is some product
isPublic: 1
-
id: scwd2-2sdf-3e2wcd-23rcdw
name: Another Product
description: This is another product
description: Product Collection Resource |
Thanks for reporting this and providing the steps to reproduce with the OpenAPI document. I'm unable to reproduce this with 1.13.2 (3a4b315), for me the custom API client connector is created without an issue. Can you check the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a...
The problem
I have syndesis (1.13.2) running on locally via CRC. When I attempt to create an API Connector given a valid OpenAPI spec, it appears the UI is unable to parse the contents correctly. I get no operations listed and when I attempt to continue (click next button), I get a blank screen.
Expected behavior
Correctly list operations.
Screenshot
Main issue:

Secondary problem (not sure if related to the first)

Request and Response Data
API Endpoints and Schemas
Tasks involved / Steps to Reproduce
The text was updated successfully, but these errors were encountered: