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

Replaced ref to $ref and components to definitions #1062

Closed
wants to merge 1 commit into from

Conversation

ArtemHolikov
Copy link
Contributor

Replace ref => $ref and components => definitions in files:

  • attachment-schema.yaml
  • chat-schema.yaml and chat.yaml
  • course-schema.yaml
  • finished-quiz.yaml
  • lesson-schema.yaml
  • message-schema.yaml
  • note-schema.yaml
  • offer-schema.yaml
  • question-schema.yaml
  • quiz-schema.yaml
  • review-schema.yaml
  • subject-schema.yaml

Copy link
Contributor

@ShadowOfTheSpace ShadowOfTheSpace left a comment

Choose a reason for hiding this comment

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

In this task, I meant that you need to replace definitions with components in these files for only those references, that had defined as definition, but written as components.
For example, user is defined as a definition (check user schema), so you should replace /components/user with /definitions/user. But, error is defined as a component (check error file), so here you don't need to replace it with definitions.

@ArtemHolikov ArtemHolikov deleted the bugfix/1035/replace-variables branch December 11, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(SP: ) Swagger docs: replace ref to $ref and components to definitions in docs files
2 participants