swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

Update README.md with --custom-config

Open to-long opened this issue 2 years ago • 4 comments

Related to https://github.com/acacode/swagger-typescript-api/issues/503 I want to update Readme.md to introduce this option to other user

to-long avatar Jul 14 '23 07:07 to-long

@BrianTo176 hello, thanks for this pull request! Please switch target branch to the next

js2me avatar Jul 14 '23 08:07 js2me

@js2me I just changed the target branch on behalf of @BrianTo176 🙃

smorimoto avatar Jul 25 '23 00:07 smorimoto

thanks @smorimoto

to-long avatar Jul 31 '23 03:07 to-long

Sorry, but it is not clear what exact data should be in the config, config should export an object with options fields?

Like:

export default {
  primitiveTypeConstructs: (constructs) => ({
      ...constructs,
      string: {
        'date-time': 'Date'
      }
  }),
}

shrpne avatar Apr 18 '24 16:04 shrpne