-
Couldn't load subscription status.
- Fork 166
Closed
Labels
change: featureNew feature or request. Impacts in a minor version changeNew feature or request. Impacts in a minor version change
Milestone
Description
What would you like to be added:
- Rename the
restoperation type intoopenapi: the actual REST operation is anopenapioperation, and could therefore be confusing to some. - Create a
restoperation type, which allows configuring a request from top to bottom, thus enabling out-of-the-box support for legacy systems.
The rest operation definition could look like this:
- name: MyOperation
operation: 'http://mysite.com/api/{pathParam}#POST'
type: restAnd it's reference like this:
- name: MyAction
functionRef:
refName: MyOperation
arguments:
headers:
- name: headerParam
value: 'headerValue'
path:
- name: pathParam #references the {pathParam} value in the operation url
value: 'myendpoint' #replaces the {pathParam} value in the operation url
query:
- name: queryParam
value: 'queryvalue'
cookie:
- name: cookieParam
value: 'cookievalue'
body:
firstName: Tihomir
lastName: SurdilovicWhy is this needed:
- Calling a cat a cat 😸
- Allows out-of-the-box support for legacy systems and broadens SW use cases even further 🔫
Notes for implementers:
The idea is basically to allow users to somehow mimic an OpenAPI doc in place of a function reference's arguments property, thus allowing the invocation of "dumb" http services.
JBBianchi, ricardozanini and antmendozaricardozanini
Metadata
Metadata
Assignees
Labels
change: featureNew feature or request. Impacts in a minor version changeNew feature or request. Impacts in a minor version change
Type
Projects
Status
Done