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

readOnly: true property not hidden in REQUEST SAMPLES for nested objects #300

Closed
Robinyo opened this issue Jul 12, 2017 · 1 comment
Closed

Comments

@Robinyo
Copy link

Robinyo commented Jul 12, 2017

It's great that the readOnly: true property allows you to use the same definitions for read (GET) and write (POST, PATCH, PUT) operations. However, the readOnly: true property is being ignored when generating REQUEST SAMPLES that include nested objects (e.g., the names array):

image

The REQUEST BODY, however, is correctly rendered:

image

See: https://ato-team.github.io/business-registries-rest-api-specification

@Robinyo Robinyo changed the title readOnly: true property not hidden in REQUEST SAMPLES for a nested objects readOnly: true property not hidden in REQUEST SAMPLES for nested objects Jul 12, 2017
@RomanHotsiy
Copy link
Member

@Robinyo thanks for issue report!

I will check it asap and will get back to you!

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

2 participants