@@ -48,6 +48,7 @@ export default class RapiDoc extends LitElement {
48
48
defaultSchemaTab : { type : String , attribute : 'default-schema-tab' } ,
49
49
schemaExpandLevel : { type : Number , attribute : 'schema-expand-level' } ,
50
50
schemaDescriptionExpanded : { type : String , attribute : 'schema-description-expanded' } ,
51
+ responseAreaHeight : { type : String , attribute : 'response-area-height' } ,
51
52
52
53
// API Server
53
54
apiKeyName : { type : String , attribute : 'api-key-name' } ,
@@ -97,6 +98,10 @@ export default class RapiDoc extends LitElement {
97
98
if ( ! this . defaultSchemaTab || ! 'example model' . includes ( this . defaultSchemaTab ) ) { this . defaultSchemaTab = 'model' ; }
98
99
if ( ! this . schemaExpandLevel || this . schemaExpandLevel < 1 ) { this . schemaExpandLevel = 99999 ; }
99
100
if ( ! this . schemaDescriptionExpanded || ! 'true false' . includes ( this . schemaDescriptionExpanded ) ) { this . schemaDescriptionExpanded = 'false' ; }
101
+ debugger ;
102
+ if ( ! this . responseAreaHeight ) {
103
+ this . responseAreaHeight = '300px' ;
104
+ }
100
105
if ( ! this . allowTry || ! 'true false' . includes ( this . allowTry ) ) { this . allowTry = 'true' ; }
101
106
if ( ! this . apiKeyName ) { this . apiKeyName = '' ; }
102
107
if ( ! this . apiKeyValue ) { this . apiKeyValue = '' ; }
@@ -139,10 +144,11 @@ export default class RapiDoc extends LitElement {
139
144
- - font- mono: ${ this . monoFont ? `${ this . monoFont } ` : 'Monaco, "Andale Mono", "Roboto Mono", Consolas' } ;
140
145
- - font- regular: ${ this . regularFont ? `${ this . regularFont } ` : 'rapidoc, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' } ;
141
146
142
- - - font- size-mono: 13px;
143
- - - font- size-regular: 14px;
144
- - - font- size-small: 12px;
145
- - - bor der- radius: 2px;
147
+ - - font- size-mono: 13px;
148
+ - - font- size-regular: 14px;
149
+ - - font- size-small: 12px;
150
+ - - bor der- radius: 2px;
151
+ - - resp- area- height: ${ this . responseAreaHeight } ;
146
152
147
153
dis play: flex;
148
154
flex- direction: column;
0 commit comments