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

Documentation for the nested routes on openapi #130

Merged
merged 2 commits into from Oct 7, 2022
Merged

Documentation for the nested routes on openapi #130

merged 2 commits into from Oct 7, 2022

Conversation

marcopiraccini
Copy link
Contributor

This is the missing documentation for #110

You can query for the parent directly, e.g.:

```
$ curl -X 'GET' 'http://localhost:3042/quotes/1/movies?fields=title
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
$ curl -X 'GET' 'http://localhost:3042/quotes/1/movies?fields=title
$ curl -X 'GET' 'http://localhost:3042/quotes/1/movie?fields=title

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, tnx for spotting this.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@mcollina mcollina merged commit 097a148 into main Oct 7, 2022
@mcollina mcollina deleted the nested-doc branch October 7, 2022 14:22
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.

None yet

2 participants