Skip to content

Add simulator request widgets and Swagger UI updates - #5

Merged
eviltester merged 2 commits into
mainfrom
codex/simulation-live-request-widgets
Jul 17, 2026
Merged

Add simulator request widgets and Swagger UI updates#5
eviltester merged 2 commits into
mainfrom
codex/simulation-live-request-widgets

Conversation

@eviltester

Copy link
Copy Markdown
Owner

Adds inline HTTP request widgets to the API Simulator instructions, updates Swagger UI headings and related OpenAPI/Swagger content, fixes migrated repository links, and updates the change log.\n\nVerification:\n- Thingifier support merged in eviltester/thingifier#70\n- API Challenges Java CI run is green on Java 17 and Java 21: https://github.com/eviltester/apichallenges/actions/runs/29574363706

Copilot AI review requested due to automatic review settings July 17, 2026 10:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7f59e1b26

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

'use strict';

const WIDGET_SELECTOR = '.sim-live-request';
const DEFAULT_METHODS = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'OPTIONS', 'HEAD', 'TRACE'];

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not offer TRACE in the browser request selector

When a learner selects TRACE in the editable widget, the request reaches fetch() with that method, but Fetch rejects TRACE before any network request is sent, so the widget reports “Request failed” instead of the simulator's documented 501 response (the simulator tests explicitly support trace for /sim/entities). Remove TRACE from this browser-execution selector or direct learners to the generated cURL/wget command for it.

Useful? React with 👍 / 👎.

@eviltester
eviltester merged commit 364abe3 into main Jul 17, 2026
5 checks passed
@eviltester
eviltester deleted the codex/simulation-live-request-widgets branch July 17, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants