projectdiscovery / docs

Centralized docs of ProjectDiscovery
https://docs.projectdiscovery.io
3 stars 37 forks source link

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

Open olearycrew opened 3 weeks ago

olearycrew commented 3 weeks ago

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: