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

[REQ][typescript] Use more sophisticated yaml spec for typescript generators samples #5335

Open
amakhrov opened this issue Feb 16, 2020 · 1 comment

Comments

@amakhrov
Copy link
Contributor

amakhrov commented Feb 16, 2020

Currently samples for all typescript generators are built based on petstore.yaml (2_0 and 3_0).
This spec doesn't include features like "date" format, allOf / oneOf, discriminators, enum aliases (for OAS3).

As a result, issues related to those features (e.g. #5171) are not obvious, and also it's not obvious how fixes addressing those issues impact the end result.

A number of other generators already use a more advanced test spec for that: petstore-with-fake-endpoints-models-for-testing

Suggestion is to change all existing typescript samples from petstore to petstore-with-fake-endpoints-models-for-testing

@auto-labeler
Copy link

auto-labeler bot commented Feb 16, 2020

👍 Thanks for opening this issue!
🏷 I have applied any labels matching special text in your issue.

The team will review the labels and make any necessary changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant