jhannes / openapi-generator-typescript-fetch-api

TypeScript client library using Fetch API and API interfaces
13 stars 6 forks source link

Making the servers object use typed servernames instead of "string" #2

Closed pteigen closed 3 years ago

pteigen commented 3 years ago

Easier to use the server constant. Ts will help to provide an allowed server name. Without this any string can be provided and will fail later on.

jhannes commented 3 years ago

Great fix! Thank you