You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user, I want the API Overview to render variable information for each server so that I can quickly understand dynamic elements in server URLs.
Description of Work
Enhance the documentation rendering in Stoplight Studio to display server variable information on the API Overview. The server URL should visually differentiate variables, and a UI control should be available for users to view detailed variable attributes.
Requirements
Render variable information for each server on the API Overview:
Server URLs with variables, e.g., https://demo.server.com/{version}, should have the variable {version} displayed in a distinct color to indicate it's dynamic.
Each server should display a caret icon next to it for expanding variable details.
Display detailed variable attributes upon expanding the server's caret:
Name: string
Default Value: string (Required)
Description: string (Optional and displayed below the name)
Allowed Values
Design for Expanded Server Variable Details
Update the proposals hook (If needed):
Changes to server variables should reflect in the proposals UI.
Types of changes include: Variable added/deleted/modified.
Modified server (Server variable added/deleted/modified) should have a yellow line beside it in the UI to signify that a change occurred.
Acceptance Criteria
As a user, when I view the API Overview, I expect to see the server URL with variables (e.g., https://demo.server.com/{version}) distinctly colored to differentiate from static portions of the URL.
As a user, I want to see a caret next to each server, with the first server's caret expanded by default.
As a user, when I click on a server's caret, I expect to view detailed information about the variables, including their Name, Default Value, Description, and Allowed Values using the JSE UI.
Documentation
Update OpenAPI support matrix maintained internally.
Design
The work needs to be reviewed by the Design Team. They should be added to the PR as reviewers.
Test Plan
Validate that the server URL in the API Overview correctly displays and colors variables.
Ensure that each server in the API Overview has a caret, with the first server's caret expanded by default.
Validate that clicking on a server's caret reveals detailed variable information using the JSE UI.
[ ] Link to E2E Ticket: [Placeholder for ticket link]
[ ] Update Existing elements tests
Monitoring & Metrics
No metrics needed
The text was updated successfully, but these errors were encountered:
User Story
As a user, I want the API Overview to render variable information for each server so that I can quickly understand dynamic elements in server URLs.
Description of Work
Enhance the documentation rendering in Stoplight Studio to display server variable information on the API Overview. The server URL should visually differentiate variables, and a UI control should be available for users to view detailed variable attributes.
Requirements
Render variable information for each server on the API Overview:
https://demo.server.com/{version}
, should have the variable{version}
displayed in a distinct color to indicate it's dynamic.Display detailed variable attributes upon expanding the server's caret:
Name: string
Default Value: string (Required)
Description: string (Optional and displayed below the name)
Allowed Values
Design for Expanded Server Variable Details
![image](https://private-user-images.githubusercontent.com/17899454/260066474-feef298f-3b07-4668-89b7-95b4da9d74fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0MTc3ODksIm5iZiI6MTcxOTQxNzQ4OSwicGF0aCI6Ii8xNzg5OTQ1NC8yNjAwNjY0NzQtZmVlZjI5OGYtM2IwNy00NjY4LTg5YjctOTViNGRhOWQ3NGZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI2VDE1NTgwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThmMTA1ZTllZDQ0NWVhMzI1Zjc0YWRmZDBkN2I4NGYwNDhhOGNjMDYwNjdhZTFmZTAyYjU5NTkyZDZiY2UwOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LDB1_G8pmJo4eo7smaBt8kpWrRaDsngZLDwq7HCgQq0)
Update the proposals hook (If needed):
Acceptance Criteria
As a user, when I view the API Overview, I expect to see the server URL with variables (e.g.,
https://demo.server.com/{version}
) distinctly colored to differentiate from static portions of the URL.As a user, I want to see a caret next to each server, with the first server's caret expanded by default.
As a user, when I click on a server's caret, I expect to view detailed information about the variables, including their Name, Default Value, Description, and Allowed Values using the JSE UI.
Documentation
Design
Test Plan
[ ] Link to E2E Ticket: [Placeholder for ticket link]
[ ] Update Existing elements tests
Monitoring & Metrics
The text was updated successfully, but these errors were encountered: