-
Notifications
You must be signed in to change notification settings - Fork 18
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
apidom-reference: OpenAPI 3.1 normalization #2362
Labels
Comments
5 tasks
char0n
changed the title
OpenAPI 3.1 - normalization
apidom-reference: OpenAPI 3.1 normalization
Dec 9, 2022
char0n
added a commit
that referenced
this issue
Dec 12, 2022
char0n
added a commit
that referenced
this issue
Dec 12, 2022
char0n
added a commit
that referenced
this issue
Dec 13, 2022
char0n
added a commit
that referenced
this issue
Dec 13, 2022
char0n
added a commit
that referenced
this issue
Dec 14, 2022
char0n
added a commit
that referenced
this issue
Dec 14, 2022
char0n
added a commit
that referenced
this issue
Dec 15, 2022
In swagger-client integration we ideally want to use const apiDOM = await parse(yamlDefinition);
const openApiElement = OpenApi3_1Element.refract(apiDOM.result, {
plugins: [
refractorPluginNormalizeOperationIds({
operationIdNormalizer: (operationId, path, method) => {
return opId({ operationId }, path, method, { v2OperationIdCompatibilityMode });
},
}),
],
}); |
char0n
added a commit
that referenced
this issue
Dec 15, 2022
char0n
added a commit
that referenced
this issue
Dec 16, 2022
Docs has been provided for following plugins: - refractorPluginNormalizeParameters - refractorPluginNormalizeSecurityRequirements - refractorPluginNormalizeServers - refractorPluginNormalizeOperationIds Refs #2362
char0n
added a commit
that referenced
this issue
Dec 16, 2022
Docs has been provided for following plugins: - refractorPluginNormalizeParameters - refractorPluginNormalizeSecurityRequirements - refractorPluginNormalizeServers - refractorPluginNormalizeOperationIds Refs #2362
char0n
added a commit
that referenced
this issue
Jan 1, 2023
New dispatcher was used in every namespace package. Refs #2362
char0n
added a commit
that referenced
this issue
Jan 1, 2023
New dispatcher was used in every namespace package. Refs #2362
char0n
added a commit
that referenced
this issue
Jan 2, 2023
char0n
added a commit
that referenced
this issue
Jan 2, 2023
char0n
added a commit
that referenced
this issue
Jan 2, 2023
char0n
added a commit
that referenced
this issue
Jan 2, 2023
char0n
added a commit
that referenced
this issue
Jan 3, 2023
Affected refractor plugins - normalize-header-examples - normalize-parameter-examples Refs #2362
char0n
added a commit
that referenced
this issue
Jan 3, 2023
char0n
added a commit
that referenced
this issue
Jan 3, 2023
12 tasks
Closing this issue as it has been addressed by multiple PRs and number of normalization refractor plugins have been introduced. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
swagger-client has concept of
normalization
. This concept needs to be ported in ApiDOM as well. The goal of this issue is to research the process of normalization, understand it and implement it on ApiDOM side.Research notes:
skipNormalization
option$$normalized: boolean
field and skips the normalization process if it detects that the field is truthyv2OperationIdCompatibilityMode
needs to be supportedThe text was updated successfully, but these errors were encountered: