mnahkies / mnahkies/openapi-code-generator

typescript-fetch: support runtime parsing

Open
#82 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

typescript-fetch
Dominant language
TypeScript
Stars
34
Forks
8
Avg merge
20h 27m
Merged PRs (30d)
7

Description

currently only the typescript-koa does any runtime parsing/validation.

add support to the typescript-fetch template for validating parameters, and parsing responses using the configured schema builder (ie: zoa / joi)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing runtime parsing and validation in the typescript-koa template with the typescript-fetch template. Trace how the configured schema builder, such as zoa or joi, is selected; the work is done when generated fetch clients validate parameters and parse responses through that builder.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, typescript
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.