@ahmttyydn/java-integration 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +762 -0
  2. package/README.md +37 -0
  3. package/package.json +46 -0
  4. package/pom.xml +242 -0
  5. package/scalar-core/pom.xml +92 -0
  6. package/scalar-core/src/main/java/com/scalar/maven/core/ScalarConstants.java +26 -0
  7. package/scalar-core/src/main/java/com/scalar/maven/core/ScalarHtmlRenderer.java +135 -0
  8. package/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java +596 -0
  9. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/ScalarAuthenticationOptions.java +235 -0
  10. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/AuthorizationCodeFlow.java +160 -0
  11. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/ClientCredentialsFlow.java +88 -0
  12. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/ImplicitFlow.java +64 -0
  13. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/OAuthFlow.java +185 -0
  14. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/PasswordFlow.java +134 -0
  15. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/flows/ScalarFlows.java +113 -0
  16. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/schemes/ScalarApiKeySecurityScheme.java +77 -0
  17. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/schemes/ScalarHttpSecurityScheme.java +115 -0
  18. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/schemes/ScalarOAuth2SecurityScheme.java +75 -0
  19. package/scalar-core/src/main/java/com/scalar/maven/core/authentication/schemes/ScalarSecurityScheme.java +45 -0
  20. package/scalar-core/src/main/java/com/scalar/maven/core/config/DefaultHttpClient.java +77 -0
  21. package/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarAgentOptions.java +68 -0
  22. package/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java +197 -0
  23. package/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java +151 -0
  24. package/scalar-core/src/main/java/com/scalar/maven/core/enums/CredentialsLocation.java +52 -0
  25. package/scalar-core/src/main/java/com/scalar/maven/core/enums/DeveloperToolsVisibility.java +58 -0
  26. package/scalar-core/src/main/java/com/scalar/maven/core/enums/DocumentDownloadType.java +67 -0
  27. package/scalar-core/src/main/java/com/scalar/maven/core/enums/OperationSorter.java +52 -0
  28. package/scalar-core/src/main/java/com/scalar/maven/core/enums/OperationTitleSource.java +52 -0
  29. package/scalar-core/src/main/java/com/scalar/maven/core/enums/Pkce.java +57 -0
  30. package/scalar-core/src/main/java/com/scalar/maven/core/enums/PropertyOrder.java +53 -0
  31. package/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarClient.java +208 -0
  32. package/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarLayout.java +52 -0
  33. package/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarTarget.java +158 -0
  34. package/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarTheme.java +102 -0
  35. package/scalar-core/src/main/java/com/scalar/maven/core/enums/TagSorter.java +47 -0
  36. package/scalar-core/src/main/java/com/scalar/maven/core/enums/ThemeMode.java +52 -0
  37. package/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java +425 -0
  38. package/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfigurationMapper.java +69 -0
  39. package/scalar-core/src/main/resources/META-INF/resources/webjars/scalar/index.html +22 -0
  40. package/scalar-core/src/test/java/com/scalar/maven/core/ScalarConfigurationTest.java +144 -0
  41. package/scalar-core/src/test/java/com/scalar/maven/core/ScalarHtmlRendererTest.java +104 -0
  42. package/scalar-core/src/test/java/com/scalar/maven/core/ScalarPropertiesTest.java +525 -0
  43. package/scalar-core/src/test/java/com/scalar/maven/core/config/DefaultHttpClientTest.java +61 -0
  44. package/scalar-core/src/test/java/com/scalar/maven/core/config/ScalarAgentOptionsTest.java +80 -0
  45. package/scalar-core/src/test/java/com/scalar/maven/core/config/ScalarServerTest.java +118 -0
  46. package/scalar-core/src/test/java/com/scalar/maven/core/config/ScalarSourceTest.java +105 -0
  47. package/scalar-playground-webflux/pom.xml +52 -0
  48. package/scalar-playground-webflux/src/main/java/com/scalar/maven/playground/CustomScalarWebFluxController.java +34 -0
  49. package/scalar-playground-webflux/src/main/java/com/scalar/maven/playground/PlaygroundApplication.java +27 -0
  50. package/scalar-playground-webflux/src/main/resources/application.properties +7 -0
  51. package/scalar-playground-webmvc/pom.xml +52 -0
  52. package/scalar-playground-webmvc/src/main/java/com/scalar/maven/playground/CustomScalarWebMvcController.java +34 -0
  53. package/scalar-playground-webmvc/src/main/java/com/scalar/maven/playground/PlaygroundApplication.java +27 -0
  54. package/scalar-playground-webmvc/src/main/resources/application.properties +7 -0
  55. package/scalar-webflux/pom.xml +110 -0
  56. package/scalar-webflux/src/main/java/com/scalar/maven/webflux/ScalarWebFluxActuatorEndpoint.java +103 -0
  57. package/scalar-webflux/src/main/java/com/scalar/maven/webflux/ScalarWebFluxAutoConfiguration.java +63 -0
  58. package/scalar-webflux/src/main/java/com/scalar/maven/webflux/ScalarWebFluxController.java +109 -0
  59. package/scalar-webflux/src/main/java/com/scalar/maven/webflux/SpringBootScalarProperties.java +43 -0
  60. package/scalar-webflux/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +2 -0
  61. package/scalar-webflux/src/test/java/com/scalar/maven/webflux/ScalarWebFluxActuatorEndpointTest.java +136 -0
  62. package/scalar-webflux/src/test/java/com/scalar/maven/webflux/ScalarWebFluxControllerTest.java +162 -0
  63. package/scalar-webmvc/pom.xml +103 -0
  64. package/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/ScalarWebMvcActuatorEndpoint.java +97 -0
  65. package/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/ScalarWebMvcAutoConfiguration.java +63 -0
  66. package/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/ScalarWebMvcController.java +103 -0
  67. package/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/SpringBootScalarProperties.java +43 -0
  68. package/scalar-webmvc/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +2 -0
  69. package/scalar-webmvc/src/test/java/com/scalar/maven/webmvc/ScalarWebMvcActuatorEndpointTest.java +128 -0
  70. package/scalar-webmvc/src/test/java/com/scalar/maven/webmvc/ScalarWebMvcControllerTest.java +154 -0
@@ -0,0 +1,596 @@
1
+ package com.scalar.maven.core;
2
+
3
+ import com.scalar.maven.core.authentication.ScalarAuthenticationOptions;
4
+ import com.scalar.maven.core.config.DefaultHttpClient;
5
+ import com.scalar.maven.core.config.ScalarAgentOptions;
6
+ import com.scalar.maven.core.config.ScalarServer;
7
+ import com.scalar.maven.core.config.ScalarSource;
8
+ import com.scalar.maven.core.enums.*;
9
+
10
+ import java.util.List;
11
+ import java.util.Map;
12
+
13
+ /**
14
+ * Configuration properties for the Scalar API Reference integration.
15
+ *
16
+ * <p>
17
+ * This class provides configuration options for customizing the Scalar API
18
+ * Reference endpoint.
19
+ * </p>
20
+ *
21
+ * <p>
22
+ * Example usage in application.properties (when used with Spring Boot):
23
+ * </p>
24
+ *
25
+ * <pre>
26
+ * scalar.url=https://example.com/openapi.json
27
+ * scalar.path=/docs
28
+ * scalar.enabled=true
29
+ * scalar.showSidebar=true
30
+ * scalar.hideModels=false
31
+ * scalar.darkMode=true
32
+ * scalar.theme=default
33
+ * scalar.layout=modern
34
+ * </pre>
35
+ */
36
+ public class ScalarProperties {
37
+
38
+ /**
39
+ * The URL of the OpenAPI specification to display in the API Reference.
40
+ * Defaults to a sample specification from the Scalar Galaxy CDN.
41
+ */
42
+ private String url = "https://registry.scalar.com/@scalar/apis/galaxy?format=json";
43
+
44
+ /**
45
+ * List of OpenAPI Reference sources, allowing to set multiple OpenAPI
46
+ * references (replaces {@link #url})
47
+ */
48
+ private List<ScalarSource> sources;
49
+
50
+ /**
51
+ * Whether the Scalar API Reference is enabled.
52
+ * Defaults to false.
53
+ */
54
+ private boolean enabled = false;
55
+
56
+ /**
57
+ * The path where the API Reference will be available.
58
+ * Defaults to "/scalar".
59
+ */
60
+ private String path = "/scalar";
61
+
62
+ /**
63
+ * Controls the title of the HTML document.
64
+ * Defaults to "Scalar API Reference".
65
+ */
66
+ private String pageTitle = "Scalar API Reference";
67
+
68
+ /**
69
+ * Whether the sidebar should be shown.
70
+ * Defaults to true.
71
+ */
72
+ private boolean showSidebar = true;
73
+
74
+ /**
75
+ * Whether models (components.schemas or definitions) should be hidden from the
76
+ * sidebar, search, and content.
77
+ * Defaults to false.
78
+ */
79
+ private boolean hideModels = false;
80
+
81
+ /**
82
+ * Whether to hide the "Test Request" button.
83
+ * Defaults to false.
84
+ */
85
+ private boolean hideTestRequestButton = false;
86
+
87
+ /**
88
+ * Whether dark mode is on or off initially.
89
+ * Defaults to false (light mode).
90
+ */
91
+ private boolean darkMode = false;
92
+
93
+ /**
94
+ * Whether to show the dark mode toggle.
95
+ * Defaults to false.
96
+ */
97
+ private boolean hideDarkModeToggle = false;
98
+
99
+ /**
100
+ * Custom CSS to inject into the API Reference.
101
+ * Defaults to null.
102
+ */
103
+ private String customCss;
104
+
105
+ /**
106
+ * Whether to show the sidebar search bar.
107
+ * Defaults to false.
108
+ */
109
+ private boolean hideSearch = false;
110
+
111
+ /**
112
+ * Key used with CTRL/CMD to open the search modal.
113
+ * Defaults to null (uses default key).
114
+ */
115
+ private String searchHotKey;
116
+
117
+ /**
118
+ * Whether to expose the Scalar UI as an actuator endpoint.
119
+ * When enabled, the Scalar UI will be available at /actuator/scalar.
120
+ * Defaults to false.
121
+ */
122
+ private boolean actuatorEnabled = false;
123
+
124
+ /**
125
+ * Controls the path or URL to a favicon for the documentation.
126
+ */
127
+ private String favicon = "favicon.svg";
128
+
129
+ /**
130
+ * Controls the proxy URL for API requests.
131
+ */
132
+ private String proxyUrl;
133
+
134
+ /**
135
+ * Controls authentication options for prefilling credentials.
136
+ */
137
+ private ScalarAuthenticationOptions authentication;
138
+
139
+ /**
140
+ * Controls the default HTTP client (default: shell/curl).
141
+ */
142
+ private DefaultHttpClient defaultHttpClient;
143
+
144
+ /**
145
+ * Controls the list of servers for the Scalar API Reference.
146
+ * This list will override the servers defined in the OpenAPI document.
147
+ */
148
+ private List<ScalarServer> servers;
149
+
150
+ /**
151
+ * Controls metadata information for configuring meta information out of the
152
+ * box.
153
+ */
154
+ private Map<String, String> metadata;
155
+
156
+ /**
157
+ * Controls whether to use the default fonts (Inter and JetBrains Mono from
158
+ * CDN).
159
+ * Defaults to true.
160
+ */
161
+ private boolean withDefaultFonts = true;
162
+
163
+ /**
164
+ * Controls whether all tags are opened by default.
165
+ * Defaults to false (only relevant tag opened).
166
+ */
167
+ private boolean defaultOpenAllTags = false;
168
+
169
+ /**
170
+ * Controls whether all model sections are expanded by default.
171
+ * Defaults to false (collapsed).
172
+ */
173
+ private boolean expandAllModelSections = false;
174
+
175
+ /**
176
+ * Controls whether all response sections are expanded by default in operations.
177
+ * Defaults to false (collapsed).
178
+ */
179
+ private boolean expandAllResponses = false;
180
+
181
+ /**
182
+ * Controls the base server URL that will be used to prefix all relative OpenAPI
183
+ * server URLs.
184
+ */
185
+ private String baseServerUrl;
186
+
187
+ /**
188
+ * Controls whether authentication state is persisted in local storage.
189
+ * Defaults to false (not persisted).
190
+ */
191
+ private boolean persistAuth = false;
192
+
193
+ /**
194
+ * Controls whether telemetry is enabled.
195
+ * Telemetry tracks only whether a request was sent through the API client.
196
+ * We don't track who sent the request, what request was sent, or where it was
197
+ * sent to.
198
+ * Defaults to true (enabled).
199
+ */
200
+ private boolean telemetry = true;
201
+
202
+ /**
203
+ * Controls whether required properties are ordered first in schema properties.
204
+ * Defaults to true (required first).
205
+ */
206
+ private boolean orderRequiredPropertiesFirst = true;
207
+
208
+ /**
209
+ * Controls whether the operation ID is shown in the UI.
210
+ * Defaults to false.
211
+ */
212
+ private boolean showOperationId = false;
213
+
214
+ /**
215
+ * Controls whether the client button from the Reference sidebar is hidden.
216
+ * Defaults to false (shown).
217
+ */
218
+ private boolean hideClientButton = false;
219
+
220
+ // Primary enum properties (no suffix)
221
+
222
+ /**
223
+ * Controls the theme for the Scalar API Reference.
224
+ */
225
+ private ScalarTheme theme = ScalarTheme.DEFAULT;
226
+
227
+ /**
228
+ * Controls the layout for the Scalar API Reference.
229
+ */
230
+ private ScalarLayout layout = ScalarLayout.MODERN;
231
+
232
+ /**
233
+ * Controls the document download type for the Scalar API Reference.
234
+ */
235
+ private DocumentDownloadType documentDownloadType = DocumentDownloadType.BOTH;
236
+
237
+ /**
238
+ * Controls whether the sidebar and search use the operation summary or path.
239
+ */
240
+ private OperationTitleSource operationTitleSource;
241
+
242
+ /**
243
+ * Controls the tag sorter for the Scalar API Reference.
244
+ */
245
+ private TagSorter tagSorter;
246
+
247
+ /**
248
+ * Controls the operation sorter for the Scalar API Reference.
249
+ */
250
+ private OperationSorter operationSorter;
251
+
252
+ /**
253
+ * Forces the theme to always be in the specified state regardless of user
254
+ * preference.
255
+ */
256
+ private ThemeMode forceThemeMode;
257
+
258
+ /**
259
+ * Controls the ordering method for schema properties.
260
+ */
261
+ private PropertyOrder schemaPropertyOrder;
262
+
263
+ /**
264
+ * Controls the visibility of the developer tools toolbar.
265
+ */
266
+ private DeveloperToolsVisibility showDeveloperTools;
267
+
268
+ /**
269
+ * Agent Scalar options for single-URL mode. Use a key for production, or set
270
+ * disabled to true to turn off the agent for the entire reference.
271
+ */
272
+ private ScalarAgentOptions agent;
273
+
274
+ // Getters and setters
275
+
276
+ public List<ScalarSource> getSources() {
277
+ return sources;
278
+ }
279
+
280
+ public void setSources(List<ScalarSource> sources) {
281
+ this.sources = sources;
282
+ }
283
+
284
+ public String getUrl() {
285
+ return url;
286
+ }
287
+
288
+ public void setUrl(String url) {
289
+ this.url = url;
290
+ }
291
+
292
+ public boolean isEnabled() {
293
+ return enabled;
294
+ }
295
+
296
+ public void setEnabled(boolean enabled) {
297
+ this.enabled = enabled;
298
+ }
299
+
300
+ public String getPath() {
301
+ return path;
302
+ }
303
+
304
+ public void setPath(String path) {
305
+ this.path = path;
306
+ }
307
+
308
+ public String getPageTitle() {
309
+ return pageTitle;
310
+ }
311
+
312
+ public void setPageTitle(String pageTitle) {
313
+ this.pageTitle = pageTitle;
314
+ }
315
+
316
+ public boolean isShowSidebar() {
317
+ return showSidebar;
318
+ }
319
+
320
+ public void setShowSidebar(boolean showSidebar) {
321
+ this.showSidebar = showSidebar;
322
+ }
323
+
324
+ public boolean isHideModels() {
325
+ return hideModels;
326
+ }
327
+
328
+ public void setHideModels(boolean hideModels) {
329
+ this.hideModels = hideModels;
330
+ }
331
+
332
+ public boolean isHideTestRequestButton() {
333
+ return hideTestRequestButton;
334
+ }
335
+
336
+ public void setHideTestRequestButton(boolean hideTestRequestButton) {
337
+ this.hideTestRequestButton = hideTestRequestButton;
338
+ }
339
+
340
+ public boolean isDarkMode() {
341
+ return darkMode;
342
+ }
343
+
344
+ public void setDarkMode(boolean darkMode) {
345
+ this.darkMode = darkMode;
346
+ }
347
+
348
+ public boolean isHideDarkModeToggle() {
349
+ return hideDarkModeToggle;
350
+ }
351
+
352
+ public void setHideDarkModeToggle(boolean hideDarkModeToggle) {
353
+ this.hideDarkModeToggle = hideDarkModeToggle;
354
+ }
355
+
356
+ public String getCustomCss() {
357
+ return customCss;
358
+ }
359
+
360
+ public void setCustomCss(String customCss) {
361
+ this.customCss = customCss;
362
+ }
363
+
364
+ public boolean isHideSearch() {
365
+ return hideSearch;
366
+ }
367
+
368
+ public void setHideSearch(boolean hideSearch) {
369
+ this.hideSearch = hideSearch;
370
+ }
371
+
372
+ public String getSearchHotKey() {
373
+ return searchHotKey;
374
+ }
375
+
376
+ public void setSearchHotKey(String searchHotKey) {
377
+ this.searchHotKey = searchHotKey;
378
+ }
379
+
380
+ public boolean isActuatorEnabled() {
381
+ return actuatorEnabled;
382
+ }
383
+
384
+ public void setActuatorEnabled(boolean actuatorEnabled) {
385
+ this.actuatorEnabled = actuatorEnabled;
386
+ }
387
+
388
+ public String getFavicon() {
389
+ return favicon;
390
+ }
391
+
392
+ public void setFavicon(String favicon) {
393
+ this.favicon = favicon;
394
+ }
395
+
396
+ public String getProxyUrl() {
397
+ return proxyUrl;
398
+ }
399
+
400
+ public void setProxyUrl(String proxyUrl) {
401
+ this.proxyUrl = proxyUrl;
402
+ }
403
+
404
+ public ScalarAuthenticationOptions getAuthentication() {
405
+ return authentication;
406
+ }
407
+
408
+ public void setAuthentication(ScalarAuthenticationOptions authentication) {
409
+ this.authentication = authentication;
410
+ }
411
+
412
+ public DefaultHttpClient getDefaultHttpClient() {
413
+ return defaultHttpClient;
414
+ }
415
+
416
+ public void setDefaultHttpClient(DefaultHttpClient defaultHttpClient) {
417
+ this.defaultHttpClient = defaultHttpClient;
418
+ }
419
+
420
+ public List<ScalarServer> getServers() {
421
+ return servers;
422
+ }
423
+
424
+ public void setServers(List<ScalarServer> servers) {
425
+ this.servers = servers;
426
+ }
427
+
428
+ public Map<String, String> getMetadata() {
429
+ return metadata;
430
+ }
431
+
432
+ public void setMetadata(Map<String, String> metadata) {
433
+ this.metadata = metadata;
434
+ }
435
+
436
+ public boolean isWithDefaultFonts() {
437
+ return withDefaultFonts;
438
+ }
439
+
440
+ public void setWithDefaultFonts(boolean withDefaultFonts) {
441
+ this.withDefaultFonts = withDefaultFonts;
442
+ }
443
+
444
+ public boolean isDefaultOpenAllTags() {
445
+ return defaultOpenAllTags;
446
+ }
447
+
448
+ public void setDefaultOpenAllTags(boolean defaultOpenAllTags) {
449
+ this.defaultOpenAllTags = defaultOpenAllTags;
450
+ }
451
+
452
+ public boolean isExpandAllModelSections() {
453
+ return expandAllModelSections;
454
+ }
455
+
456
+ public void setExpandAllModelSections(boolean expandAllModelSections) {
457
+ this.expandAllModelSections = expandAllModelSections;
458
+ }
459
+
460
+ public boolean isExpandAllResponses() {
461
+ return expandAllResponses;
462
+ }
463
+
464
+ public void setExpandAllResponses(boolean expandAllResponses) {
465
+ this.expandAllResponses = expandAllResponses;
466
+ }
467
+
468
+ public String getBaseServerUrl() {
469
+ return baseServerUrl;
470
+ }
471
+
472
+ public void setBaseServerUrl(String baseServerUrl) {
473
+ this.baseServerUrl = baseServerUrl;
474
+ }
475
+
476
+ public boolean isPersistAuth() {
477
+ return persistAuth;
478
+ }
479
+
480
+ public void setPersistAuth(boolean persistAuth) {
481
+ this.persistAuth = persistAuth;
482
+ }
483
+
484
+ public boolean isTelemetry() {
485
+ return telemetry;
486
+ }
487
+
488
+ public void setTelemetry(boolean telemetry) {
489
+ this.telemetry = telemetry;
490
+ }
491
+
492
+ public boolean isOrderRequiredPropertiesFirst() {
493
+ return orderRequiredPropertiesFirst;
494
+ }
495
+
496
+ public void setOrderRequiredPropertiesFirst(boolean orderRequiredPropertiesFirst) {
497
+ this.orderRequiredPropertiesFirst = orderRequiredPropertiesFirst;
498
+ }
499
+
500
+ public boolean isShowOperationId() {
501
+ return showOperationId;
502
+ }
503
+
504
+ public void setShowOperationId(boolean showOperationId) {
505
+ this.showOperationId = showOperationId;
506
+ }
507
+
508
+ public boolean isHideClientButton() {
509
+ return hideClientButton;
510
+ }
511
+
512
+ public void setHideClientButton(boolean hideClientButton) {
513
+ this.hideClientButton = hideClientButton;
514
+ }
515
+
516
+ public ScalarTheme getTheme() {
517
+ return theme;
518
+ }
519
+
520
+ public void setTheme(ScalarTheme theme) {
521
+ this.theme = theme;
522
+ }
523
+
524
+ public ScalarLayout getLayout() {
525
+ return layout;
526
+ }
527
+
528
+ public void setLayout(ScalarLayout layout) {
529
+ this.layout = layout;
530
+ }
531
+
532
+ public DocumentDownloadType getDocumentDownloadType() {
533
+ return documentDownloadType;
534
+ }
535
+
536
+ public void setDocumentDownloadType(DocumentDownloadType documentDownloadType) {
537
+ this.documentDownloadType = documentDownloadType;
538
+ }
539
+
540
+ public OperationTitleSource getOperationTitleSource() {
541
+ return operationTitleSource;
542
+ }
543
+
544
+ public void setOperationTitleSource(OperationTitleSource operationTitleSource) {
545
+ this.operationTitleSource = operationTitleSource;
546
+ }
547
+
548
+ public TagSorter getTagSorter() {
549
+ return tagSorter;
550
+ }
551
+
552
+ public void setTagSorter(TagSorter tagSorter) {
553
+ this.tagSorter = tagSorter;
554
+ }
555
+
556
+ public OperationSorter getOperationSorter() {
557
+ return operationSorter;
558
+ }
559
+
560
+ public void setOperationSorter(OperationSorter operationSorter) {
561
+ this.operationSorter = operationSorter;
562
+ }
563
+
564
+ public ThemeMode getForceThemeMode() {
565
+ return forceThemeMode;
566
+ }
567
+
568
+ public void setForceThemeMode(ThemeMode forceThemeMode) {
569
+ this.forceThemeMode = forceThemeMode;
570
+ }
571
+
572
+ public PropertyOrder getSchemaPropertyOrder() {
573
+ return schemaPropertyOrder;
574
+ }
575
+
576
+ public void setSchemaPropertyOrder(PropertyOrder schemaPropertyOrder) {
577
+ this.schemaPropertyOrder = schemaPropertyOrder;
578
+ }
579
+
580
+ public DeveloperToolsVisibility getShowDeveloperTools() {
581
+ return showDeveloperTools;
582
+ }
583
+
584
+ public void setShowDeveloperTools(DeveloperToolsVisibility showDeveloperTools) {
585
+ this.showDeveloperTools = showDeveloperTools;
586
+ }
587
+
588
+ public ScalarAgentOptions getAgent() {
589
+ return agent;
590
+ }
591
+
592
+ public void setAgent(ScalarAgentOptions agent) {
593
+ this.agent = agent;
594
+ }
595
+ }
596
+