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

Support seems missing for "const" #16

Closed
bytenik opened this issue Dec 16, 2024 · 0 comments · Fixed by #17
Closed

Support seems missing for "const" #16

bytenik opened this issue Dec 16, 2024 · 0 comments · Fixed by #17

Comments

@bytenik
Copy link
Contributor

bytenik commented Dec 16, 2024

Looking at this schema here: https://quant-ng-api.dev.thinkalpha.io/openapi.json

const ComponentsSchemasDividend = T.Object({
  id: T.String(),
  actionType: T.Any(),
  Symbol: T.String(),
...

actionType is being created as T.Any() whereas in the schema, it is a const with a value of "Dividend":

"actionType": { "const": "Dividend", "title": "Actiontype", "default": "Dividend" },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant