Skip to content

Commit e178fb3

Browse files
committed
DOC-13911: Migrate OpenAPI Generator templates to Handlebars (#206)
* Create handlebars templates * Remove mustache templates * Switch all gradle build scripts to use handlebars * Get tag names from operation * Two-column model ToC * Output Nullable field * Use "yes" for unique items and nullable * Only show top-level models in the nav * Update Analytics Links spec with nullable fields * Fix Query Settings examples (jsonc → json) * Get rid of the italics * Handle Redocly x-enumDescriptions * Use capitalize helper for tag names * Update security schemas to use x-displayName * Build output documentation
1 parent b8db87f commit e178fb3

68 files changed

Lines changed: 12151 additions & 21651 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/modules/analytics-rest-admin/analytics-admin.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ openApiGenerate {
2020
generateAliasAsModel: "true"
2121
]
2222
generateAliasAsModel = true
23+
engine = "handlebars"
2324
}

docs/modules/analytics-rest-admin/attachments/_analytics-admin.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,7 @@ components:
762762
763763
securitySchemes:
764764
AnalyticsManageAnalyticsSelect:
765+
x-displayName: Analytics Manage / Analytics Select
765766
type: http
766767
scheme: basic
767768
description: |
@@ -775,6 +776,7 @@ components:
775776
* Analytics Admin
776777
777778
ClusterReadPoolsRead:
779+
x-displayName: Cluster Read / Pools Read
778780
type: http
779781
scheme: basic
780782
description: |
@@ -786,6 +788,7 @@ components:
786788
* Analytics Admin
787789
788790
AnalyticsManage:
791+
x-displayName: Analytics Manage
789792
type: http
790793
scheme: basic
791794
description: |

0 commit comments

Comments
 (0)