Skip to content

Conversation

@GhostDog98
Copy link

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.
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.

1 participant