Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify the command line and GUI for the interactive server old #1427

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

StarKhan6368
Copy link
Collaborator

What: Unify the command line and GUI for the interactive server.

Why: Over time, the functionality for generating and validating examples through both the Command Line Interface (CLI) and Graphical User Interface (GUI) has diverged into separate code paths.

Additional:

  • Resolve the issue of missing processing text on button during bulk generation when the spinner is active.
  • Refactor the example loading strategy for both normal and schema-based examples.
  • Additional fixes and cleanups.

Checklist:

- Unify path for GUI and command-line validations.
- Modify example reading in SchemaExample and ExampleFromFile to use
  return values that can be handled cleanly.
- Use a common function that does the generation.
- Add allowOnlyMandatoryKeysInJSONObject to CMD for parity with GUI.
- Update test setups.
# Conflicts:
#	core/src/main/kotlin/io/specmatic/core/examples/server/ExamplesInteractiveServer.kt
#	core/src/main/kotlin/io/specmatic/core/examples/server/SchemaExample.kt
@StarKhan6368 StarKhan6368 changed the title Unify the command line and GUI for the interactive server. Unify the command line and GUI for the interactive server old Dec 12, 2024
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.

1 participant