projectdiscovery / projectdiscovery/docs
Update openapi.yaml for Better Organization and Mintlify Compatibility
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:
-
Review Current
openapi.yaml:- Conduct a thorough review of the existing
openapi.yamlfile. - Identify any inconsistencies, errors, or outdated information.
- Conduct a thorough review of the existing
-
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.
-
Ensure Mintlify Compatibility:
- Follow Mintlify guidelines to ensure the
openapi.yamlis compatible with their platform. - Validate the
openapi.yamlusing Mintlify’s tools or any OpenAPI validators to ensure there are no errors.
- Follow Mintlify guidelines to ensure the
-
Test Import to Mintlify:
- Import the cleaned-up
openapi.yamlinto Mintlify. - Verify that the generated documentation is well-organized and comprehensive.
- Make any necessary adjustments based on the import results.
- Import the cleaned-up
-
Documentation and Review:
- Document the changes made to the
openapi.yamlfile. - Request reviews from team members to ensure accuracy and completeness.
- Document the changes made to the
Acceptance Criteria:
- The
openapi.yamlfile 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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