Skip to content

Commit 651a7db

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 f2d41c6 commit 651a7db

66 files changed

Lines changed: 11625 additions & 20554 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
@@ -760,6 +760,7 @@ components:
760760
761761
securitySchemes:
762762
AnalyticsManageAnalyticsSelect:
763+
x-displayName: Analytics Manage / Analytics Select
763764
type: http
764765
scheme: basic
765766
description: |
@@ -773,6 +774,7 @@ components:
773774
* Analytics Admin
774775
775776
ClusterReadPoolsRead:
777+
x-displayName: Cluster Read / Pools Read
776778
type: http
777779
scheme: basic
778780
description: |
@@ -784,6 +786,7 @@ components:
784786
* Analytics Admin
785787
786788
AnalyticsManage:
789+
x-displayName: Analytics Manage
787790
type: http
788791
scheme: basic
789792
description: |

0 commit comments

Comments
 (0)