-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Properties marked as readOnly are shown in POST payload examples #1238
Labels
Comments
@Perni1984 when there is a implicit As a workaround, you can define examples on each field vs on the schema. |
mik-laj
pushed a commit
to apache/airflow
that referenced
this issue
Nov 8, 2021
Add an example based on the workaround described in Redocly/redoc#1238
jedcunningham
pushed a commit
to apache/airflow
that referenced
this issue
Dec 7, 2021
Add an example based on the workaround described in Redocly/redoc#1238 (cherry picked from commit e6ccfae)
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Mar 10, 2022
Add an example based on the workaround described in Redocly/redoc#1238 (cherry picked from commit e6ccfaea822f9241e380e04014ffd698b7845b9a) GitOrigin-RevId: a431a14bdeac7e53ae83ad728bd1cc527faa990c
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jun 4, 2022
Add an example based on the workaround described in Redocly/redoc#1238 (cherry picked from commit e6ccfaea822f9241e380e04014ffd698b7845b9a) GitOrigin-RevId: a431a14bdeac7e53ae83ad728bd1cc527faa990c
5 tasks
This comment was marked as outdated.
This comment was marked as outdated.
5 tasks
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jul 10, 2022
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Aug 27, 2022
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 4, 2022
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
aglipska
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Oct 7, 2022
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Dec 7, 2022
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jan 27, 2023
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
kosteev
pushed a commit
to kosteev/composer-airflow-test-copybara
that referenced
this issue
Sep 12, 2024
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Sep 17, 2024
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
kosteev
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Nov 7, 2024
Add an example based on the workaround described in Redocly/redoc#1238 GitOrigin-RevId: e6ccfaea822f9241e380e04014ffd698b7845b9a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using the latest version from I am trying to mark some of my properties in the schema as readOnly:
This gets rendered as follows:
In the POST request body schema the properties
id
,updatedAt
,createdAt
are correctly stripped out.Unfortunately the sample values are getting displayed in the sample payload of the POST request.
My expectation would be that those properties are getting stripped out from the sample payload in the POST request aswell. Am I missing something?
The text was updated successfully, but these errors were encountered: