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

fix(openapi/inspect): small url formatting error #855

Merged
merged 3 commits into from
Aug 10, 2023
Merged

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Aug 9, 2023

🧰 Changes

Noticed a tiny formatting error when running openapi:inspect against an OpenAPI 3.0 definition:

CleanShot 2023-08-09 at 16 17 40@2x

I made the type a little stricter and tweaked the logic a bit so now it looks like this:

CleanShot 2023-08-09 at 16 22 31@2x

I don't love how the URL and this disclaimer text have the same formatting, but this is probably good enough for now.

🧬 QA & Testing

Do tests pass and does this change look good?

@kanadgupta kanadgupta added bug Something isn't working command:openapi Issues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commands labels Aug 9, 2023
@kanadgupta kanadgupta requested a review from t-tullis August 9, 2023 21:28
@kanadgupta kanadgupta marked this pull request as ready for review August 9, 2023 21:28
@kanadgupta kanadgupta requested a review from erunion August 9, 2023 21:29
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

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

ope

Copy link
Contributor

@t-tullis t-tullis left a comment

Choose a reason for hiding this comment

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

lgtm!

@kanadgupta kanadgupta merged commit c54e289 into next Aug 10, 2023
@kanadgupta kanadgupta deleted the inspect-formatting branch August 10, 2023 23:11
kanadgupta pushed a commit that referenced this pull request Aug 10, 2023
## [8.6.5-next.5](v8.6.5-next.4...v8.6.5-next.5) (2023-08-10)

### Bug Fixes

* **openapi/inspect:** small url formatting error ([#855](#855)) ([c54e289](c54e289))

[skip ci]
kanadgupta pushed a commit that referenced this pull request Aug 21, 2023
## [8.6.5](v8.6.4...v8.6.5) (2023-08-21)

### Bug Fixes

* **deps:** upgrading out of date deps ([#836](#836)) ([8600554](8600554))
* **npm:** revert shrinkwrap changes ([#824](#824)) ([f96e6dc](f96e6dc))
* **openapi/inspect:** small url formatting error ([#855](#855)) ([c54e289](c54e289))
* **reducer:** quirk with security schemes sometimes getting removed ([#867](#867)) ([be2e037](be2e037))
* **security:** don't publish certain files to npm ([a83fe1c](a83fe1c)), closes [/socket.dev/npm/package/rdme/files/8.6.5-next.2/bin/docker.js#T167-182](https://github.com//socket.dev/npm/package/rdme/files/8.6.5-next.2/bin/docker.js/issues/T167-182)
* typo ([#852](#852)) ([26c10e5](26c10e5))
* **versions:** general refactors to handle flag edge cases ([#861](#861)) ([e316139](e316139))

[skip ci]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working command:openapi Issues pertaining to the `openapi`, `validate`, `reduce`, or `swagger` commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants