calleandersson commented on issue #6701: URL: https://github.com/apache/camel-quarkus/issues/6701#issuecomment-2440689417
Created a small yaml example (I wasn't allowed to attach a yaml file to the issue): ```yaml openapi: "3.0.3" info: title: Camel API Example version: 1.0.0 description: > This is an example API. servers: - url: http://ipsum.com/api description: Development environment. - url: http://lorem.com/api description: Production environment. paths: /v1/camel: get: operationId: findCamels summary: Find camels description: Search for camels. parameters: - in: query name: name description: A camel name. required: true schema: type: string example: "Glenn" responses: "200": description: Matching camels are returned. content: application/json: schema: type: object required: - camelList properties: camelList: description: List containing matching camels. type: array items: $ref: "#/components/schemas/Camel" "400": "description": "Invalid input." components: schemas: Camel: description: A representation of a camel. type: object required: - id - gender - name properties: id: $ref: "#/components/schemas/Id" gender: description: > Gender: - FEMALE: Female. - MALE: Male. type: string enum: [ FEMALE, MALE ] example: MALE birthDate: description: The date of birth. type: string format: date example: 2024-10-28Z name: description: Name. type: string example: Glenn rating: description: Rating. type: number multipleOf: 0.01 example: 3.14 Id: description: A camel id. type: string pattern: "^[A-Z]{3}-[0-9]{2}$" example: ABC-42 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org