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

Add UI for creating test dialogs #3

Open
elsand opened this issue Sep 15, 2024 · 1 comment
Open

Add UI for creating test dialogs #3

elsand opened this issue Sep 15, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@elsand
Copy link
Member

elsand commented Sep 15, 2024

Description

Based on https://rjsf-team.github.io/react-jsonschema-form/, it should be possible to create a CRUD interface for dialogs, which will be a useful tool for testing (rather than using Postman). Using tools/extract_schema.sh, lets one get a valid JSON Schema for a particular DTO, eg. CreateDialogCommand that can be used with react-jsonschema-form (an example is attached).

The tools should

  • Have basic authentication (username/password)
  • Make it easy to create a test dialog, using endpoints already provided by dialogporten-service-provider
  • Let one select a resource for the resource registry as service resource
  • List already created dialogs
  • Lets one update existing dialogs (using PATCH)
  • Lets one delete existing dialogs

Additional Information

No response

Tasks

No response

Acceptance Criterias

No response

@elsand
Copy link
Member Author

elsand commented Sep 15, 2024

Click here to download the output of ./extract_schema.sh https://altinn-dev-api.azure-api.net/dialogporten/swagger/v1/swagger.json. This can be used in https://rjsf-team.github.io/react-jsonschema-form/

@elsand elsand added good first issue Good for newcomers and removed good first issue Good for newcomers labels Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant