Bug 999891

Summary: [origin_broker_77]All curl examples in rest-api-* docs which is generated via generate-rest-docs does not specify request method.
Product: OpenShift Online Reporter: Liang Xia <lxia>
Component: MasterAssignee: Lili Nader <lnader>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: mfisher
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-29 12:54:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Liang Xia 2013-08-22 10:34:46 UTC
Description of problem:
All curl examples in rest-api-* docs which is generated via generate-rest-docs does not specify request method.

Version-Release number of selected component (if applicable):
devenv_3685

How reproducible:
always

Steps to Reproduce:
1.ssh into instance.
2.generate rest api doc via generate-rest-doc.
3.check the curl examples in the doc generated above.

Actual results:
Delete ssh key
curl -u first.last:password https://openshift.redhat.com/broker/rest/user/keys/mykey

Expected results:
curl -u first.last:password https://openshift.redhat.com/broker/rest/user/keys/mykey -X DELETE

Additional info:

Comment 3 Liang Xia 2013-08-28 03:00:51 UTC
Verified on devenv_3716, all curl examples in rest-api-* docs which is generated via generate-rest-docs have specify request method.

Example using curl command
curl -X GET -u first.last:password https://openshift.redhat.com/broker/rest/api 

Move to verified.