Repository navigation
chore(docs): comprehensive documentation for Webhooks, SSP, APIs, RBAC, Variants, and OpenAPI - #253
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces comprehensive documentation for major ROSS framework features, adding dedicated documentation pages, standardizing markdownlint rules with a custom AST lint rule, and establishing a sequential, continuous sidebar navigation hierarchy (1–15).
Closes #245
Closes #246
Closes #247
Closes #248
Closes #249
Closes #250
Content & Additions
1. Outbound Webhooks (#249)
ross/docs/docs/webhooks.md(sidebar_position: 13)"body","query","headers","params","response"), request vs. response execution lifecycle, secret signing via HMAC SHA-256 (x-webhook-signature), and non-blocking asynchronous execution.2. Server-Side Parameters (SSP) (#245)
ross/docs/docs/ssp.md(sidebar_position: 12)queryandbody.[[userId]],[[userEmail]], custom application variables), schema sanitization (stripping parameters from Swagger/OpenAPI docs so callers cannot pass them), and execution timing in thepreHandlerhook.3. Route Policies (
apis) (#246)ross/docs/docs/apis.md(sidebar_position: 11)<module>.<variant>.<model>.<field>.<operation>).enabled,authorization,roles,tags,supportedQueries,supportedAggregations, andbypassSecret.4. Role-Based Access Control (RBAC) (#248)
ross/docs/docs/rbac.md(sidebar_position: 14)modelName,roleField,defaultRole,roles), role hierarchies viaincludes, universal (*) and namespaced (prefix:*) wildcards in role inheritance, JWT token claim extraction, and FastifypreValidationroute enforcement.5. API Variants (
apiVariants) (#247)ross/docs/docs/api-variants.md(sidebar_position: 15)/{variant}/{model}/...), route policy overrides inapis, hierarchical scalar inheritance from base variants, and list non-inheritance.6. OpenAPI & Swagger Configuration (
docs.openapi) (#250)ross/docs/docs/openapi.md(sidebar_position: 5)enableddefaults by environment (truein dev,falsein prod), URL mounting (/docs), metadata options (title,description,version,termsOfService,contact,license), automatic security scheme registration (bearerAuthandapiKeyAuth), secret field stripping, and SSP parameter exclusion.7. Documentation Quality & Navigation Sequence
rules/no-hr.cjs) forbidding thematic break dividers (---) in markdown bodies..github/workflows/docs.yml) to validate markdownlint and production build on pull requests and pushes.# Application Configurationto# Applicationinross/docs/docs/application.md.Verification
npm run lint:md: 0 errors.npm run build: Production Docusaurus build succeeds with exit code 0.