Ignore:
Timestamp:
Aug 14, 2023, 9:16:51 PM (15 months ago)
Author:
alloc
Message:

More OpenAPI specs added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TFP-WebServer/WebServer/src/WebAPI/APIs/Command.openapi.yaml

    r460 r462  
    8888      description: Simple style command result
    8989
     90    CommandExecutedResponse:
     91      type: object
     92      properties:
     93        data:
     94          oneOf:
     95            - $ref: '#/components/schemas/CommandExecutedResultFull'
     96            - $ref: '#/components/schemas/CommandExecutedResultSimple'
     97        meta:
     98          $ref: './openapi.yaml#/components/schemas/ResultEnvelopeMeta'
     99      required:
     100        - data
     101        - meta
    90102
    91103  requestBodies:
     
    167179            application/json:
    168180              schema:
    169                 oneOf:
    170                   - $ref: '#/components/schemas/CommandExecutedResultFull'
    171                   - $ref: '#/components/schemas/CommandExecutedResultSimple'
     181                $ref: '#/components/schemas/CommandExecutedResponse'
    172182            text/plain:
    173183              schema:
Note: See TracChangeset for help on using the changeset viewer.