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

Missing const typing support #1547

Open
adamaltman opened this issue May 4, 2024 · 2 comments
Open

Missing const typing support #1547

adamaltman opened this issue May 4, 2024 · 2 comments
Labels
p3 Type: Bug Something isn't working

Comments

@adamaltman
Copy link
Member

Describe the bug

Are we missing const from here: https://github.com/Redocly/redocly-cli/blob/main/packages/core/src/typings/openapi.ts

To Reproduce
n/a

Expected behavior

To be able to use the type tree to traverse the values including enum (is already in the typings) and const (missing) values.

Logs

n/a

OpenAPI description

3.1

Redocly Version(s)

latest

Node.js Version(s)

n/a

Additional context

Relates to writing some advanced plugins/extensions.

@adamaltman adamaltman added the Type: Bug Something isn't working label May 4, 2024
@jeremyfiel
Copy link
Contributor

related #1548

const is defined in /types/oas3_1.ts

@tatomyr
Copy link
Contributor

tatomyr commented May 7, 2024

Are we missing const from here

Yes we do. Thanks for reporting!

@tatomyr tatomyr added the p3 label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants