From d1613f4d8f2c3978bd8f5f0279adc0ad591b0fda Mon Sep 17 00:00:00 2001
From: Roberto Prevato
Response 200 OK
@@ -13,6 +14,7 @@
{{texts.name}}
{{texts.type}}
+ {{texts.description}}
{%- endfor %}
From 9563c8b6703ba6c8472b67f47455d227586bc5ff Mon Sep 17 00:00:00 2001
From: Roberto Prevato {{name}}{% include "partial/schema-repr.html" %}
+ {{schema.description}}
### POST /api/blobs/initialize-upload
@@ -216,6 +217,7 @@ Initializes a file upload operation.
## Categories
+
### GET /api/categories
@@ -349,6 +351,7 @@ Gets the list of categories supported by the system.
## Countries
+
### GET /api/countries
@@ -412,6 +415,7 @@ codes.
+
### GET /api/system-countries
@@ -479,6 +483,7 @@ ISO country codes.
## Downloads
+
### GET /api/downloads
@@ -690,6 +695,7 @@ Gets a paginated set of downloads records.
## Health
+
### GET /api/health
@@ -765,6 +771,7 @@ API health check
## Professionals
+
### GET /api/pro/own-context
@@ -861,6 +868,7 @@ API health check
## Info
+
### GET /api/info
@@ -937,6 +945,7 @@ Returns information about the API itself.
## Releases
+
### GET /api/releases/{releaseId}
@@ -1159,6 +1168,7 @@ Returns details about a release by id.
```
+
### DELETE /api/releases/{releaseId}
@@ -1200,6 +1210,7 @@ Deletes a release by id.
### PATCH /api/releases/{releaseId}
@@ -1487,6 +1498,7 @@ Deletes a release by id.
+
### GET /api/releases
@@ -1683,6 +1695,7 @@ Deletes a release by id.
```
+
### POST /api/releases
@@ -1799,6 +1812,7 @@ Deletes a release by id.
+
### GET /api/current-releases
@@ -1864,6 +1878,7 @@ Deletes a release by id.
+
### GET /api/orgs/current-releases
@@ -1929,6 +1944,7 @@ Deletes a release by id.
+
### GET /api/releases/{releaseId}/history
@@ -2062,6 +2078,7 @@ Deletes a release by id.
+
### GET /api/releases/{releaseId}/file/{nodeId}
@@ -2140,6 +2157,7 @@ Deletes a release by id.
+
### GET /api/releases/{releaseId}/file/{nodeId}/downloads
@@ -2218,6 +2236,7 @@ Deletes a release by id.
+
### PUT /api/releases/{releaseId}/files
@@ -2473,6 +2492,7 @@ Deletes a release by id.
```
+
### DELETE /api/releases/{releaseId}/files
@@ -2726,6 +2746,7 @@ Deletes a release by id.
+
### PUT /api/releases/{releaseId}/orgs
@@ -2987,6 +3008,7 @@ Deletes a release by id.
```
+
### DELETE /api/releases/{releaseId}/orgs
@@ -3239,6 +3261,7 @@ Deletes a release by id.
+
### POST /api/releases/{releaseId}/clone
@@ -3462,6 +3485,7 @@ Deletes a release by id.
+
### POST /api/releases/{releaseId}/publish
@@ -3734,36 +3758,44 @@ Deletes a release by id.
Name
Type
+ Description
creationTimestring(date-time)
+
descriptionstring | null
+
eTagstring
+
idstring | null
+
namestring
+
releasesArray<Release>
+
@@ -3777,20 +3809,24 @@ Deletes a release by id.
updateTimestring(date-time)
+
Name
Type
+ Description
countryCodestring | null
+
idstring | null
+
@@ -3804,12 +3840,14 @@ Deletes a release by id.
namestring
+
Name
Type
+ Description
@@ -3823,24 +3861,29 @@ Deletes a release by id.
itemsArray<OrganizationBoundInput>
+
Name
Type
+ Description
categoryIdstring
+
countriesArray<string>
+
descriptionstring | null
+
@@ -3854,24 +3897,29 @@ Deletes a release by id.
namestring | null
+
Name
Type
+ Description
fileIdstring(uuid)
+
fileNamestring
+
fileSizeinteger(int32)
+
@@ -3885,12 +3933,14 @@ Deletes a release by id.
fileTypestring
+
Name
Type
+ Description
@@ -3904,32 +3954,39 @@ Deletes a release by id.
idstring(uuid)
+
Name
Type
+ Description
categoryIdstring | null
+
countryCodestring | null
+
countryNamestring | null
+
publishTimestring(date-time)
+
releaseIdstring(uuid)
+
@@ -3943,12 +4000,14 @@ Deletes a release by id.
releaseNamestring | null
+
Name
Type
+ Description
@@ -3962,12 +4021,14 @@ Deletes a release by id.
idstring(uuid)
+
Name
Type
+ Description
@@ -3981,12 +4042,14 @@ Deletes a release by id.
uniqueDownloadsinteger(int32)
+
Name
Type
+ Description
@@ -4000,16 +4063,19 @@ Deletes a release by id.
urlstring | null
+
Name
Type
+ Description
codeinteger(int32)
+
@@ -4023,20 +4089,24 @@ Deletes a release by id.
messagestring
+
Name
Type
+ Description
aliveboolean
+
regionNamestring | null
+
@@ -4050,24 +4120,29 @@ Deletes a release by id.
timestampstring(date-time)
+
Name
Type
+ Description
fileNamestring | null
+
fileSizeinteger(int32)
+
fileTypestring | null
+
@@ -4081,24 +4156,29 @@ Deletes a release by id.
releaseIdstring(uuid)
+
Name
Type
+ Description
baseURLstring | null
+
fileIdstring | null
+
fileNamestring | null
+
@@ -4112,20 +4192,24 @@ Deletes a release by id.
tokenstring | null
+
Name
Type
+ Description
buildNumberstring | null
+
contactEmailstring | null
+
@@ -4139,44 +4223,54 @@ Deletes a release by id.
versionstring | null
+
Name
Type
+ Description
creationTimestring(date-time)
+
eTagstring
+
extensionstring
+
iconstring
+
idstring(uuid)
+
namestring
+
sizeinteger(int32)
+
typestring
+
@@ -4190,16 +4284,19 @@ Deletes a release by id.
updateTimestring(date-time)
+
Name
Type
+ Description
idstring(uuid)
+
@@ -4213,16 +4310,19 @@ Deletes a release by id.
namestring | null
+
Name
Type
+ Description
membershipArray<ProfessionalMembership>
+
@@ -4236,52 +4336,64 @@ Deletes a release by id.
signaturestring | null
+
Name
Type
+ Description
brandNamesArray<string>
+
categoryIdstring | null
+
idstring(uuid)
+
marketCodesArray<string>
+
organizationBrandsArray<string(uuid)>
+
organizationIdstring(uuid)
+
organizationMarketsArray<string(uuid)>
+
organizationNamestring | null
+
organizationNumberstring | null
+
rolestring | null
+
@@ -4295,16 +4407,19 @@ Deletes a release by id.
scopestring | null
+
Name
Type
+ Description
eTagstring | null
+
@@ -4318,64 +4433,79 @@ Deletes a release by id.
sendEmailNotificationsboolean
+
Name
Type
+ Description
categoryCategory
+
categoryIdstring | null
+
countriesArray<ReleaseCountry>
+
creationTimestring(date-time)
+
descriptionstring | null
+
draftboolean
+
eTagstring
+
historyArray<ReleaseHistory>
+
idstring(uuid)
+
namestring
+
nodesArray<ReleaseNode>
+
organizationsArray<ReleaseOrganization>
+
requestedNotificationboolean
+
@@ -4389,24 +4519,29 @@ Deletes a release by id.
updateTimestring(date-time)
+
Name
Type
+ Description
countryCountry
+
countryIdstring | null
+
releaseRelease
+
@@ -4420,36 +4555,44 @@ Deletes a release by id.
releaseIdstring(uuid)
+
Name
Type
+ Description
datastring | null
+
descriptionstring
+
idstring(uuid)
+
releaseRelease
+
releaseIdstring(uuid)
+
timeStampstring(date-time)
+
@@ -4463,28 +4606,34 @@ Deletes a release by id.
userstring
+
Name
Type
+ Description
idstring(uuid)
+
nodeNodeInfo
+
nodeIdstring(uuid)
+
releaseRelease
+
@@ -4498,44 +4647,54 @@ Deletes a release by id.
releaseIdstring(uuid)
+
Name
Type
+ Description
accessGrantedByOrganizationIdstring(uuid) | null
+
idstring(uuid)
+
nodeNodeInfo
+
nodeIdstring(uuid)
+
releaseRelease
+
releaseIdstring(uuid)
+
timeStampstring(date-time)
+
userEmailstring
+
@@ -4549,16 +4708,19 @@ Deletes a release by id.
userIdstring
+
Name
Type
+ Description
itemsArray<ReleaseNodeDownload>
+
@@ -4572,24 +4734,29 @@ Deletes a release by id.
totalinteger(int64)
+
Name
Type
+ Description
displayNamestring | null
+
organizationIdstring(uuid)
+
releaseRelease
+
@@ -4603,16 +4770,19 @@ Deletes a release by id.
releaseIdstring(uuid)
+
Name
Type
+ Description
itemsArray<Release>
+
@@ -4626,32 +4796,39 @@ Deletes a release by id.
totalinteger(int64)
+
Name
Type
+ Description
categoryIdstring
+
countriesArray<string>
+
descriptionstring | null
+
eTagstring | null
+
idstring(uuid)
+
diff --git a/tests/res/example2-output.md b/tests/res/example2-output.md
index f15167a..5bb5c0b 100644
--- a/tests/res/example2-output.md
+++ b/tests/res/example2-output.md
@@ -33,6 +33,7 @@ Most likely, it is not desirable to edit this file by hand!
## pets
+
namestring | null
+
### GET /pets
@@ -171,6 +172,7 @@ List all pets
```
+
### POST /pets
@@ -252,6 +254,7 @@ Create a pet
+
### GET /pets/{petId}
@@ -388,6 +391,7 @@ Info for a specific pet
```
+
### PATCH /pets/{petId}
@@ -467,16 +471,19 @@ Info for a specific pet
Name
Type
+ Description
ageinteger
+
@@ -490,16 +497,19 @@ Info for a specific pet
huntsboolean
+
Name
Type
+ Description
barkboolean
+
@@ -513,16 +523,19 @@ Info for a specific pet
breedstring
+
Name
Type
+ Description
codeinteger(int32)
+
@@ -536,24 +549,29 @@ Info for a specific pet
messagestring
+
Name
Type
+ Description
categorystring
+
idinteger(int64)
+
namestring
+
diff --git a/tests/res/example3-output.md b/tests/res/example3-output.md
index e86c596..7c32185 100644
--- a/tests/res/example3-output.md
+++ b/tests/res/example3-output.md
@@ -33,6 +33,7 @@ Most likely, it is not desirable to edit this file by hand!
## pets
+
tagstring
+
### GET /pets
@@ -155,6 +156,7 @@ List all pets
```
+
### POST /pets
@@ -203,6 +205,7 @@ Create a pet
+
### GET /pets/{petId}
@@ -323,6 +326,7 @@ Info for a specific pet
```
+
### PATCH /pets/{petId}
@@ -369,16 +373,19 @@ Info for a specific pet
Name
Type
+ Description
ageinteger
+
@@ -392,16 +399,19 @@ Info for a specific pet
huntsboolean
+
Name
Type
+ Description
barkboolean
+
@@ -415,16 +425,19 @@ Info for a specific pet
breedstring
+
Name
Type
+ Description
codeinteger(int32)
+
@@ -438,24 +451,29 @@ Info for a specific pet
messagestring
+
Name
Type
+ Description
categorystring
+
idinteger(int64)
+
namestring
+
diff --git a/tests/res/example4-split-output.md b/tests/res/example4-split-output.md
index 5ac657e..77c4e22 100644
--- a/tests/res/example4-split-output.md
+++ b/tests/res/example4-split-output.md
@@ -34,6 +34,7 @@ split Public API
## User
+
tagstring
+
### POST /users
@@ -157,6 +158,7 @@ Invite a user
Response 401 Unauthorized
Refer to the common response description: Unauthorized.
Refer to the common response description: Unauthorized.
Refer to the common response description: Unauthorized.
codedescriptionmessagecreatedAtidnamescopeupdatedAtdatanextCursorcreatedAtemailfirstNameglobalRoleidisPendinglastNameupdatedAt