Skip to content

Add BrewPage API to directory#2484

Open
kochetkov-ma wants to merge 1 commit into
APIs-guru:mainfrom
kochetkov-ma:add-brewpage-api
Open

Add BrewPage API to directory#2484
kochetkov-ma wants to merge 1 commit into
APIs-guru:mainfrom
kochetkov-ma:add-brewpage-api

Conversation

@kochetkov-ma

Copy link
Copy Markdown

Summary

This PR adds the BrewPage API (v1.0.0) to the OpenAPI directory. BrewPage is a REST API for HTML/KV/JSON/file hosting platform with short URLs, password protection, and real-time statistics.

API Metadata Added

  • x-apisguru-categories: developer_tools, content_management
  • x-logo.url: https://brewpage.app/og-image.png (verified: HTTP 200)
  • x-origin: points to authoritative source at https://raw.githubusercontent.com/kochetkov-ma/brewpage-openapi/main/openapi/openapi.yaml
  • x-providerName: brewpage.app
  • x-serviceName: brewpage
  • contact.email: maxim.kochetkov.develop@gmail.com
  • contact.url: https://brewpage.app

Validation

  • OpenAPI 3.1.0 spec is valid and parseable
  • Logo URL is publicly reachable (HTTP 200)
  • All required APIs.guru metadata fields are present
  • Spec contains 26 paths with comprehensive documentation

File Location

APIs/brewpage.app/1.0.0/openapi.yaml

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a comprehensive OpenAPI 3.1.0 specification for the BrewPage API, which provides hosting for HTML, KV data, JSON documents, and files. The specification includes endpoints for content management, short URL resolution, platform statistics, abuse reporting, and administrative access logging. A high-severity issue was identified in the ReportDetail schema where the reviewedAt field is described as nullable but defined as a non-nullable string, which will lead to validation failures when the field is null.

format: date-time
description: When the report was submitted
reviewedAt:
type: string

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The reviewedAt field is described as nullable ('null if never reviewed'), but the schema defines it as a non-nullable string. This will cause validation errors when the field is null. Please update the type to be an array including 'null'.

type:
- string
- 'null'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant