projectdiscovery / projectdiscovery/docs

Update openapi.yaml for Better Organization and Mintlify Compatibility

Open
#79 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MDX
Stars
28
Forks
62
Avg merge
1d 18h
Merged PRs (30d)
3

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing openapi.yaml against Mintlify's OpenAPI Setup documentation and an OpenAPI validator. Check endpoint organization, descriptions, parameters, response schemas, and import compatibility. Import the file into Mintlify and adjust it until validation passes and the generated documentation is structured and comprehensive.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.