From 896de21e24ed18d06829ea44d4183465d9887499 Mon Sep 17 00:00:00 2001 From: Olivier Lando Date: Tue, 4 Jun 2024 17:58:52 +0200 Subject: [PATCH] Fix brackets in READMEs for Doctave v2 --- templates/csharp/api_doc.mustache | 2 +- templates/go/api_doc.mustache | 2 +- templates/java/libraries/okhttp-gson/api_doc.mustache | 2 +- templates/nodejs/docs/api/api_doc.md.mustache | 2 +- templates/python/api_doc.mustache | 2 +- templates/swift5/api_doc.mustache | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/csharp/api_doc.mustache b/templates/csharp/api_doc.mustache index d8f326cb..fe69ef87 100644 --- a/templates/csharp/api_doc.mustache +++ b/templates/csharp/api_doc.mustache @@ -5,7 +5,7 @@ All URIs are relative to *{{{basePath}}}* Method | HTTP request | Description ------------- | ------------- | ------------- -{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** `{{path}}` | {{#summary}}{{summary}}{{/summary}} {{/operation}}{{/operations}} {{#operations}} diff --git a/templates/go/api_doc.mustache b/templates/go/api_doc.mustache index afcbf1f5..fff50ec0 100644 --- a/templates/go/api_doc.mustache +++ b/templates/go/api_doc.mustache @@ -6,7 +6,7 @@ All URIs are relative to *{{basePath}}* Method | HTTP request | Description ------------- | ------------- | ------------- -{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** `{{path}}`` | {{#summary}}{{summary}}{{/summary}} {{/operation}}{{/operations}} {{#operations}} diff --git a/templates/java/libraries/okhttp-gson/api_doc.mustache b/templates/java/libraries/okhttp-gson/api_doc.mustache index 5baca45c..3ebea033 100644 --- a/templates/java/libraries/okhttp-gson/api_doc.mustache +++ b/templates/java/libraries/okhttp-gson/api_doc.mustache @@ -5,7 +5,7 @@ All URIs are relative to *{{basePath}}* Method | HTTP request | Description ------------- | ------------- | ------------- -{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** `{{path}}` | {{#summary}}{{summary}}{{/summary}} {{/operation}}{{/operations}} {{#operations}} diff --git a/templates/nodejs/docs/api/api_doc.md.mustache b/templates/nodejs/docs/api/api_doc.md.mustache index 9e1173f8..7839cf0c 100644 --- a/templates/nodejs/docs/api/api_doc.md.mustache +++ b/templates/nodejs/docs/api/api_doc.md.mustache @@ -5,7 +5,7 @@ All URIs are relative to *{{basePath}}* | Method | Description | HTTP request | | ------------- | ------------- | ------------- | -{{#operations}}{{#operation}}| [**{{operationId}}()**]({{classname}}.md#{{operationId}}) | {{#summary}}{{summary}}{{/summary}} | **{{httpMethod}}** {{path}} | +{{#operations}}{{#operation}}| [**{{operationId}}()**]({{classname}}.md#{{operationId}}) | {{#summary}}{{summary}}{{/summary}} | **{{httpMethod}}** `{{path}}` | {{/operation}}{{/operations}} {{#operations}} diff --git a/templates/python/api_doc.mustache b/templates/python/api_doc.mustache index 0e92ea94..a1001686 100644 --- a/templates/python/api_doc.mustache +++ b/templates/python/api_doc.mustache @@ -5,7 +5,7 @@ All URIs are relative to *{{basePath}}* Method | HTTP request | Description ------------- | ------------- | ------------- -{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** {{path}} | {{#summary}}{{summary}}{{/summary}} +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationId}}) | **{{httpMethod}}** `{{path}}` | {{#summary}}{{summary}}{{/summary}} {{/operation}}{{/operations}} {{#operations}} diff --git a/templates/swift5/api_doc.mustache b/templates/swift5/api_doc.mustache index 75b72ea4..1a416ded 100644 --- a/templates/swift5/api_doc.mustache +++ b/templates/swift5/api_doc.mustache @@ -5,7 +5,7 @@ All URIs are relative to *{{{basePath}}}* Method | HTTP request | Description ------------- | ------------- | ------------- -{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{summary}} +{{#operations}}{{#operation}}[**{{operationId}}**]({{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** `{{path}}` | {{summary}} {{/operation}}{{/operations}} {{#operations}}