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

[W-14651311] add attribute to xml property when has example #61

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

alexpmule
Copy link
Contributor

@alexpmule alexpmule commented Dec 19, 2023

Description:

We should show example XML to OAS Rest API's

Steps to reproduce:

Build or view in Desging center OAS API Spec attached
Go to books/recommendations
Go to POST
In the Panel Documentation not show payload example

Current Behaviour:

Not show example payload

Expected Behaviour:

<?xml version="1.0" encoding="UTF-8"?>
<Book LocationAttr1="Sample1" LocationRefs3="SampleId" LocationAttr="string" LocationRefs="SampleId">
  <author_name></author_name>
  <book_title>Rob</book_title>
  <pages>200</pages>
  <genre></genre>
  <id></id>
</Book>

result

Screenshot 2023-12-19 at 15 17 34

spec

00388196-test.zip

@alexpmule alexpmule merged commit 598f6a2 into master Dec 20, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants