Changeset 2623 in ProjectBuilder


Ignore:
Timestamp:
Apr 17, 2020, 7:17:04 PM (4 years ago)
Author:
Bruno Cornec
Message:

Mojolicious OpenAPI plugin wants a .yaml file

File:
1 moved

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/etc/api.yaml

    r2622 r2623  
    2525# Global parameters
    2626paths:
     27  /hello:
     28    operationId: helloWorld
     29    x-mojo-name: hello_world
     30    x-mojo-to: example#hello_world
     31    summary: Test entry point
     32    responses:
     33        '200':
     34          description: Return hello
     35          schema:
     36            type: object
     37            properties:
     38              greetings:
     39                type: string
     40        default:
     41          description: Unexpected error
     42          schema:
     43            $ref: '#/definitions/Error'
    2744  /doc:
    2845    get:
Note: See TracChangeset for help on using the changeset viewer.