Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Naming of request variables not obeyed in Markdown/cURL export #2

Open
holger-stenzhorn opened this issue Jun 7, 2017 · 0 comments

Comments

@holger-stenzhorn
Copy link

I define two request variables within a URL and name them patientId and eventId as shown below:
bug

When I now export this request as Markdown/cURL then I get the following:

GET - /persons/rest/patients/$RequestVariable/events/$RequestVariable_2

Description

CURL

curl -X GET "http://localhost:8080/persons/rest/patients/$RequestVariable/events/$RequestVariable_2"

Path Parameters

  • RequestVariable should respect the following schema:
{
  "type": "string"
}
  • RequestVariable_2 should respect the following schema:
{
  "type": "string"
}

...but what I would expect to actually get is the following:

GET - /persons/rest/patients/$patientId/events/$eventId

Description

CURL

curl -X GET "http://localhost:8080/persons/rest/patients/$patientId/events/$eventId"

Path Parameters

  • patientId should respect the following schema:
{
  "type": "string"
}
  • eventId should respect the following schema:
{
  "type": "string"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant