Skip to content

Fix remote path item object $refs #1246

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

Merged
merged 1 commit into from
Jul 25, 2023
Merged

Fix remote path item object $refs #1246

merged 1 commit into from
Jul 25, 2023

Conversation

drwpow
Copy link
Contributor

@drwpow drwpow commented Jul 25, 2023

Changes

Fixes #1107. Also squashes quite a few remote schema bugs in the process, too 🎉

How to Review

Tests should pass.

Checklist

  • Unit tests updated
  • README updated
  • examples/ directory updated (only applicable for openapi-typescript)

@changeset-bot
Copy link

changeset-bot bot commented Jul 25, 2023

🦋 Changeset detected

Latest commit: c8f5c94

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openapi-typescript Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 25, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: c8f5c94
Status:⚡️  Build in progress...

View logs

@drwpow drwpow force-pushed the fix-remote-path-objecs branch from a8b6eb1 to c8f5c94 Compare July 25, 2023 16:44
@@ -3984,7 +3984,7 @@ export interface external {
*/
type?: "custom" | "lets_encrypt";
};
/** Custom Certificate Request */ certificate_request_custom: certificate_create_base[] & {
/** Custom Certificate Request */ certificate_request_custom: external["resources/certificates/models/certificate_create.yml"]["certificate_create_base"] & {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was generating incorrectly before due to an unrelated bug. Fix was easy; we just didn’t have a test for it before.

@drwpow drwpow merged commit 17a375e into main Jul 25, 2023
@drwpow drwpow deleted the fix-remote-path-objecs branch July 25, 2023 16:50
@github-actions github-actions bot mentioned this pull request Jul 25, 2023
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 this pull request may close these issues.

Support $ref at path item object level
1 participant