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

OpenAPI 3.1.0 support: example generation from JSON Schema 2020-12 #8577

Closed
20 tasks done
char0n opened this issue Apr 19, 2023 · 2 comments
Closed
20 tasks done

OpenAPI 3.1.0 support: example generation from JSON Schema 2020-12 #8577

char0n opened this issue Apr 19, 2023 · 2 comments

Comments

@char0n
Copy link
Member

char0n commented Apr 19, 2023

The goal of this issue is to implement proper example generation for Try it out feature from JSON Schema 2020-12 schemas.


The course of action here is to amend existing samples plugin to work with JSON Schema 2020-12 and not to blow up. We're aiming for quick win here. If time will allow us, we want to approach JSON Schema 2020-12 -> data generation in more complex way, similar to https://github.com/json-schema-faker/json-schema-faker


TODO:


What we'll not be adding support for (in alpha/beta phase):

NOTE: the list below needs to be itemized into individual GitHub issues

@char0n
Copy link
Member Author

char0n commented May 30, 2023

Functions from samples/fn.js are statically imported into different modules, which makes it impossible to override. We need to first refactor the code so that samples plugin is used as plugin and not as static ESM module.

PR where above mentioned problems were remedied: #8724

char0n added a commit that referenced this issue May 31, 2023
char0n added a commit that referenced this issue May 31, 2023
char0n added a commit that referenced this issue May 31, 2023
These overrides are specific to OpenAPI 3.1.0
and JSON Schema 2020-12.

Refs #8577
char0n added a commit that referenced this issue May 31, 2023
These overrides are specific to OpenAPI 3.1.0
and JSON Schema 2020-12.

Refs #8577
char0n added a commit that referenced this issue Jun 1, 2023
char0n added a commit that referenced this issue Jun 1, 2023
These overrides are specific to OpenAPI 3.1.0
and JSON Schema 2020-12.

Refs #8577
char0n added a commit that referenced this issue Jun 5, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 5, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 6, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 9, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 9, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 9, 2023
…es (#8905)

This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 9, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 9, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 10, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 10, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
char0n added a commit that referenced this issue Jun 11, 2023
This change is specific to JSON Schema 2020-12
and OpenAPI 3.1.0.

Refs #8577
@char0n
Copy link
Member Author

char0n commented Jun 11, 2023

Missing keywords transformed into #8913

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