Skip to content

Update openapi.yaml for Better Organization and Mintlify Compatibility #79

Open

Description

@olearycrew

Objective: Clean up the openapi.yaml file to ensure it is well-organized and can be automatically imported into Mintlify for generating high-quality, structured API documentation.

Background: As part of Project Delta, we aim to enhance our open API documentation. One of the key steps is to ensure our openapi.yaml file is clean, well-organized, and compatible with Mintlify's automatic documentation generation.

Reference: Mintlify OpenAPI Setup Documentation

Tasks:

  1. Review Current openapi.yaml:

    • Conduct a thorough review of the existing openapi.yaml file.
    • Identify any inconsistencies, errors, or outdated information.
  2. Clean Up and Organize:

    • Ensure all endpoints are correctly defined and documented.
    • Group related endpoints logically to improve readability and organization.
    • Add missing descriptions, parameters, and response schemas.
  3. Ensure Mintlify Compatibility:

    • Follow Mintlify guidelines to ensure the openapi.yaml is compatible with their platform.
    • Validate the openapi.yaml using Mintlify’s tools or any OpenAPI validators to ensure there are no errors.
  4. Test Import to Mintlify:

    • Import the cleaned-up openapi.yaml into Mintlify.
    • Verify that the generated documentation is well-organized and comprehensive.
    • Make any necessary adjustments based on the import results.
  5. Documentation and Review:

    • Document the changes made to the openapi.yaml file.
    • Request reviews from team members to ensure accuracy and completeness.

Acceptance Criteria:

  • The openapi.yaml file should be free of errors and inconsistencies.
  • The file should be well-organized, with logical grouping of endpoints.
  • The file should be successfully imported into Mintlify, generating well-structured and comprehensive documentation.
  • All changes should be documented, and the file should pass peer review.

Activity

  1. parthchilwerwar commented on Sep 8, 2026

    @parthchilwerwar

    Would ProjectDiscovery approve a USD 150 first milestone toward #79 under the OSS Bounty Program? I propose making the checked-in API documentation consistent and adding an automated check that keeps it that way.

    A local, offline check at 091035dc61d6e9eed05026d8b0b2bba0cd0843dd found 125 operations in openapi.yaml and 127 operation references in the API MDX files. Two navigation-linked pages reference absent operations: GET /v1/user/tunnels in api-reference/users/get-tunnels-list.mdx and PATCH /v1/user/tunnels in api-reference/rename-tunnel.mdx. Another 18 operations have no grouping tags. The existing broken-link workflow checks the hosted site's links; it does not compare MDX operation references with the schema.

    The proposed PR would resolve those stale pages against your confirmed current API source, complete the agreed tag grouping, and add a local/CI check for MDX method/path consistency with fixture tests for valid and missing operations. Validation would include Mintlify/OpenAPI validation and local documentation rendering. This is a bounded documentation/tooling milestone; it would not claim a complete audit of every API response schema.

    Before implementation, please confirm whether the two tunnel operations were retired or moved, whether the docs repository and this scope are approved for the monetary program, and whether USD 150 and the proposed acceptance checks work for you. Please also confirm the deadline and payout/onboarding requirements.

    This proposal and the local consistency check were prepared by Codex on behalf of @parthchilwerwar; the implementation and tests would also be agent-assisted. Please confirm that workflow is eligible. No live API requests or security scanning were performed, and no complete fix has been implemented.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions