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

EDC TypeScript POC API Client #185

Closed
9 of 11 tasks
Tracked by #175
richardtreier opened this issue Mar 15, 2023 · 0 comments · Fixed by #271
Closed
9 of 11 tasks
Tracked by #175

EDC TypeScript POC API Client #185

richardtreier opened this issue Mar 15, 2023 · 0 comments · Fixed by #271
Assignees
Labels
kind/enhancement New feature or request

Comments

@richardtreier
Copy link
Collaborator

richardtreier commented Mar 15, 2023

Feature Request

Description

Implement a TypeScript API Client for our new API Wrapper.

How does this tie into our current product?

Faster deployment speed for UI APIs allows us to more confidently build and ship UI features. It would allow us to fully take control and create API endpoints for our UI pages that suit our needs.

Stakeholders

EDC UI

Solution Proposal and Work Breakdown

  • Implement OpenAPI Generation on build to be consumed for further generation for Typescript Client
  • Implement an optional endpoint that serves the OpenAPI YAML file in dev.
  • Add POC for correct generation of advanced OpenAPI YAML:
    • Find a way to mark fields as required=true so they can be generated in TypeScript non-null.
    • Find a way to add text documentation for anything that can be documented in the OpenAPI specification, so that the models in the generated TypeScript client may be documented.
  • Implement a TypeScript API Client Library that generates itself from the openapi.yaml
  • Automatic Deployment of this TypeScript API Client Library to a public NPM Repository
  • Ensure API Client works:
    • With API Key (CE / Self-Deployed)
    • Without API Key (for our UIs)
  • Add example ts project that uses the library with a README.md on how to get it running
@SebastianOpriel SebastianOpriel changed the title EDC TypeScript API Client EDC TypeScript POC API Client Mar 20, 2023
@tmberthold tmberthold added the component/api-wrapper Impacts the API-wrapper API. label Mar 27, 2023
@richardtreier richardtreier linked a pull request Apr 13, 2023 that will close this issue
@SebastianOpriel SebastianOpriel added kind/enhancement New feature or request area/api-wrapper and removed enhancement component/api-wrapper Impacts the API-wrapper API. labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants