Skip to content

Conversation

@GhostDog98
Copy link
Contributor

After commit a8a7f6c by @GCHQDeveloper1138 the swagger.yml is no longer valid.

If we look after that commit:

    MultiOpBatchRecipe:
      type: object
      properties:
        input: 
          type: array
          items: string
          example: "input for recipe"
        recipe:
          type: array
          items:
            $ref: "#/components/schemas/Operation"

Versus before:

   MultiOpBatchRecipe:
      type: object
      properties:
        input: 
          type: string
          example: "input for recipe"
        recipe:
          type: array
          items:
            $ref: "#/components/schemas/Operation"

** Fix **
Change multiopbatchrecipe to use an object in items.

After commit a8a7f6c the swagger.yml is no longer valid.

If we look after that commit:
```
    MultiOpBatchRecipe:
      type: object
      properties:
        input: 
          type: array
          items: string
          example: "input for recipe"
        recipe:
          type: array
          items:
            $ref: "#/components/schemas/Operation"
```
Versus before:
```
   MultiOpBatchRecipe:
      type: object
      properties:
        input: 
          type: string
          example: "input for recipe"
        recipe:
          type: array
          items:
            $ref: "#/components/schemas/Operation"
```
** Fix **
Change multiopbatchrecipe to use an object in items.
@GCHQDeveloper581 GCHQDeveloper581 self-requested a review February 7, 2026 10:02
Copy link
Contributor

@GCHQDeveloper581 GCHQDeveloper581 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thanks for your contribution.

@GCHQDeveloper581 GCHQDeveloper581 merged commit f50e287 into gchq:master Feb 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants