Ignore:
Timestamp:
Aug 11, 2023, 6:29:09 PM (15 months ago)
Author:
alloc
Message:

More OpenAPI specs added
OpenAPI specs cleanup to have everything validate fine
Added CORS support to API endpoints

File:
1 edited

Legend:

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

    r459 r460  
    22info:
    33  title: OpenAPI
    4   version: 1
     4  version: '1'
    55
    66
     
    88  /api/OpenAPI/openapi.yaml:
    99    get:
     10      tags:
     11        - Meta
     12      summary: OpenAPI master document
     13      description: Fetch the OpenAPI master document, referencing all the individual WebAPI specs
    1014      operationId: OpenAPI.openapi
    1115      responses:
     
    1418            application/json: {}
    1519          description: OpenAPI master document
     20  /api/OpenAPI/{name}.openapi.yaml:
     21    get:
    1622      tags:
    1723        - Meta
    18   /api/OpenAPI/{name}.openapi.yaml:
    19     get:
     24      summary: OpenAPI spec for single API
     25      description: Fetch the OpenAPI spec of a single WebAPI
    2026      operationId: OpenAPI.getAPI
    2127      parameters:
     
    3541            application/json: {}
    3642          description: No OpenAPI spec found for the API name
    37       tags:
    38         - Meta
Note: See TracChangeset for help on using the changeset viewer.