Bug 999891 - [origin_broker_77]All curl examples in rest-api-* docs which is generated via generate-rest-docs does not specify request method.
Summary: [origin_broker_77]All curl examples in rest-api-* docs which is generated via...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Master
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 10:34 UTC by Liang Xia
Modified: 2015-05-15 00:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:54:45 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.