This repository was archived by the owner on Nov 16, 2026. It is now read-only.
Repository navigation
feat(api-docs): Teams APIs in OpenAPI 3 - #1
Merged
Merged
Conversation
manuzope
commented
Aug 20, 2020
| } | ||
| } | ||
| }, | ||
| "TeamProjects": { |
Contributor
Author
There was a problem hiding this comment.
Haven't figured out how to use Projects inside TeamProjects yet.
manuzope
commented
Aug 20, 2020
manuzope
marked this pull request as ready for review
August 20, 2020 18:46
| "$ref": "../../components/schemas/team.json#/TeamWithProjects" | ||
| } | ||
| }, | ||
| "example": [{ |
Member
There was a problem hiding this comment.
I feel like we should $ref the examples too maybe like examples/teams/team-with-projects-200.json or something? Then they could also be used in tests, I'm assuming we'd want the same info
Contributor
Author
Ideas for improvementsNotes from conversation with @MeredithAnya:
|
MeredithAnya
approved these changes
Aug 24, 2020
MeredithAnya
left a comment
Member
There was a problem hiding this comment.
some minor things but overall LGTM
| "example":"letter_avatar" | ||
| }, | ||
| "avatarUuid": { | ||
| "type":"string", |
Member
There was a problem hiding this comment.
nit: sometimes you have space after : and sometimes you don't
Contributor
Author
There was a problem hiding this comment.
Yea, it's from when I convert using different json formatters. We need a linter. Let me look into adding a pre-commit after this PR. But I'll fix it up here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR does a few things:
yarn testtests all the examples in the swagger filesPrimarily want to lay out the structure through this PR.
We also need to add some json linting that I haven't added yet. And we need to run
yarn testas a check. Will do these in a follow up PR.