mrutkows commented on issue #1046: Creating an API (API Gateway) with 
require-whisk-auth does not generate the correct swagger file
URL: 
https://github.com/apache/openwhisk-wskdeploy/issues/1046#issuecomment-571806699
 
 
   For reference, here is the documentation for the top-level `web-secure` 
feature and corresponding annotation: 
https://github.com/apache/openwhisk/blob/master/docs/webactions.md#Securing-web-actions
 (IBM Has this version: 
https://cloud.ibm.com/docs/openwhisk?topic=cloud-functions-actions_web)
   
   There looks to be room for improvement, as well as better referencing from 
here:
   
https://github.com/apache/openwhisk/blob/master/docs/annotations.md#Annotations-specific-to-web-actions
   
   Obviously, the `deploy` schema will change if we want to support 
`web-secure` flag on an action and its behavior when not a `boolean`.  In 
addition, the schema for Action needs to ack. the Annotations key and the 
specialized values (e.g., `require-whisk-auth`, `web-custom-options`) and the 
docs wskdeploy spec. docs updated as well once to reflect the actual placement 
(under Annotations key) as they are not supported directly under the action 
definition.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to