Skip to content

Commit 4dfa031

Browse files
committed
Address PR comments
1 parent 8825477 commit 4dfa031

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/converter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,11 @@ export class Converter {
178178
}
179179
// Note: simplifyNonSchemaRef must be performed after all
180180
// the above schema transformations, since visiting
181-
// all the schema $ref objects tags them with x-apiture-schema-ref
181+
// all the schema $ref objects tags them with x-openapi-down-convert-schema-ref
182182
// so simplifyNonSchemaRef can apply to any $ref that
183-
// is not tagged x-apiture-schema-ref
183+
// is not tagged x-openapi-down-convert-schema-ref
184184
this.simplifyNonSchemaRef();
185-
// remove the x-apiture-schema-ref tags
185+
// remove the x-openapi-down-convert-schema-ref tags
186186
this.untagSchemaRef();
187187
if (this.returnCode > 0) {
188188
throw new Error('Cannot down convert this OpenAPI definition.');
@@ -486,7 +486,7 @@ to get the correct \`authorizationUrl\` and \`tokenUrl\`.`;
486486
}
487487

488488
/**
489-
* Remove the `x-apiture-schema-ref` property added to schema $ref objects
489+
* Remove the `x-openapi-down-convert-schema-ref` property added to schema $ref objects
490490
* during visiting .
491491
*/
492492
untagSchemaRef() {

0 commit comments

Comments
 (0)