File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
gitbook/src/components/DocumentView/OpenAPI Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 213
213
@apply text-primary-subtle/9 text-[0.813rem ];
214
214
}
215
215
216
+ .openapi-schema-writeonly {
217
+ @apply text-success text-[0.813rem ];
218
+ }
219
+
216
220
.openapi-schema-type {
217
221
@apply text-tint select-text text-[0.813rem ] font-mono [word-spacing:-0.25rem];
218
222
}
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ export function OpenAPISchemaName(props: OpenAPISchemaNameProps) {
32
32
) : null }
33
33
</ span >
34
34
{ schema ?. readOnly ? < span className = "openapi-schema-readonly" > read-only</ span > : null }
35
+ { schema ?. writeOnly ? (
36
+ < span className = "openapi-schema-writeonly" > write-only</ span >
37
+ ) : null }
35
38
{ required ? (
36
39
< span className = "openapi-schema-required" > required</ span >
37
40
) : (
You can’t perform that action at this time.
0 commit comments