Thank you for your interest in contributing! This document provides guidelines for contributing to this project.
If you find inaccuracies in the specification:
- Missing or incorrect endpoint parameters
- Wrong response schemas
- Outdated endpoint information
- Missing endpoints
Please open an issue with:
- The affected endpoint path
- Expected vs actual behavior
- Evidence (API response, documentation link, etc.)
- Add better descriptions for parameters or schemas
- Include more realistic examples
- Document edge cases or special behaviors
If you discover endpoints not in the spec:
- Verify the endpoint exists and is documented by LogicMonitor
- Add the endpoint following existing patterns
- Include all parameters, responses, and examples
# Clone the repository
git clone https://github.com/tim4net/logicmonitor-openapi.git
cd logicmonitor-openapi
# Install validation tools (optional)
npm install -g @apidevtools/swagger-cliBefore submitting changes, validate the spec:
swagger-cli validate openapi.json- Fork the repository
- Create a feature branch (
git checkout -b feature/add-missing-endpoint) - Make your changes
- Validate the spec
- Commit with a descriptive message
- Push to your fork
- Open a pull request
Use clear, descriptive commit messages:
Add missing /device/devices/{id}/instances endpoint
- Added GET endpoint for listing device instances
- Included pagination parameters
- Added response schema with example
If editing the YAML file:
- Use 2-space indentation
- Keep lines under 120 characters
- Use quotes for strings containing special characters
- Write clear, concise descriptions
- Use sentence case
- End with periods for full sentences
- Include units where applicable (e.g., "Timeout in seconds")
- Provide realistic example values
- Use consistent formatting
- Include examples for complex schemas
- Be respectful and constructive
- Focus on the technical merits
- Welcome newcomers
Open an issue with the "question" label if you need clarification.