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

Implement OpenAPI spec based router #20

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Implement OpenAPI spec based router #20

merged 4 commits into from
Mar 11, 2024

Conversation

jfrconley
Copy link
Owner

Problem

Spec-first design is difficult with the current code generation mechanism.
Problems arise trying to go back and forth between code and spec trying to get them in sync.

Solution

Implement new router api based on open api spec type introspection.
Obviates the need for code generation entirely

Testing

run test suite

Copy link

changeset-bot bot commented Mar 11, 2024

🦋 Changeset detected

Latest commit: 0872f48

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

This PR includes changesets to release 1 package
Name Type
@nornir/rest Minor

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

Copy link
Contributor

github-actions bot commented Mar 11, 2024

Coverage report

St.
Category Percentage Covered / Total
🔴 Statements 6.51% 93/1429
🔴 Branches 2.08% 11/530
🔴 Functions 12.76% 37/290
🔴 Lines 6.74% 92/1364

Test suite run success

28 tests passing in 5 suites.

Report generated by 🧪jest coverage report action from 8b50af7

@jfrconley jfrconley merged commit 766a094 into main Mar 11, 2024
2 of 3 checks passed
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