speced / speced/respec

Support setting a base URL for `data-include`

Open
#4,694 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature request
Dominant language
JavaScript
Stars
806
Forks
434
Avg merge
1d 21h
Merged PRs (30d)
32

Description

When building specs with data-include, it would be helpful be able to dynamically set a dataIncludeBase URL in respecConfig. This could help:

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 locating the data-include handling and respecConfig processing in the Respec codebase, then compare them with the referenced preProcess example in respec-web-services. The change is done when a configured dataIncludeBase URL can support pr-preview, alternate versions at the same path, and local editing without requiring the existing workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.