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 a few minor openapi spec issues, upgrade remark and spectral #287

Merged
merged 7 commits into from
Mar 17, 2022

Conversation

philvarner
Copy link
Collaborator

Related Issue(s): n/a

Proposed Changes:

  1. cleanup a few minor issues with openapi specs
  2. upgrade remark and spectral

PR Checklist:

  • This PR is made against the dev branch (all proposed changes except releases should be against dev, not master).
  • This PR has no breaking changes.
  • This PR does not make any changes to the core spec in the stac-spec directory (these are included as a subtree and should be updated directly in radiantearth/stac-spec)
  • I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.

@@ -3,6 +3,6 @@ rules:
openapi-tags: off
info-contact: off
oas3-api-servers: off
oas3-unused-components-schema: off
oas3-unused-component: off
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the name of this changed between spectral 5 and 6

@@ -107,16 +107,6 @@ components:
application/json:
schema:
$ref: '#/components/schemas/children'
InvalidParameter:
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

latest spectral determined these are unused

@philvarner philvarner marked this pull request as draft March 11, 2022 13:38
@philvarner
Copy link
Collaborator Author

We have this configured to fail on warnings now, so putting this in draft until we figure out why the max-line-lenght rule is triggering on tables

@philvarner philvarner marked this pull request as ready for review March 17, 2022 00:44
@philvarner philvarner merged commit b14ec82 into dev Mar 17, 2022
@philvarner philvarner deleted the openapi-cleanup-and-spectral-and-remark-upgrade branch March 17, 2022 15:42
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.

1 participant