Add techtenstein.com/lorem-forge - #2846
sathvic-kollu wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces the initial OpenAPI 3.1.0 specification for the lorem-forge API, defining endpoints for generating random words, sentences, and paragraphs, along with health and documentation paths. Feedback on the specification highlights that the /, /health, and /openapi.json paths are missing the required responses field, which violates the OpenAPI specification. Additionally, it is recommended to change the html query parameter on the /paragraphs endpoint from a string to a boolean type for better API design.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| /: | ||
| get: | ||
| summary: "Landing / docs" | ||
| /health: | ||
| get: | ||
| summary: "Health" | ||
| /openapi.json: | ||
| get: | ||
| summary: "OpenAPI spec" |
There was a problem hiding this comment.
According to the OpenAPI Specification, the responses field is required for every operation object. Currently, the /, /health, and /openapi.json paths do not define any responses, which makes this an invalid OpenAPI document. Adding a default 200 response for these paths resolves this issue.
/:
get:
summary: "Landing / docs"
responses:
200:
description: "Success"
/health:
get:
summary: "Health"
responses:
200:
description: "Success"
/openapi.json:
get:
summary: "OpenAPI spec"
responses:
200:
description: "Success"| - name: "html" | ||
| in: "query" | ||
| schema: | ||
| type: "string" | ||
| default: "false" |
There was a problem hiding this comment.
Adding lorem-forge API — Lorem ipsum placeholder text — words, sentences, paragraphs, plain or HTML.
Live: https://lorem-forge.techtenstein.com
OpenAPI: https://lorem-forge.techtenstein.com/openapi.json