Browse Source

docs: updates README.md

e22m4u 6 days ago
parent
commit
fba0bc2848
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -217,7 +217,7 @@ builder.defineOperation({
     requestBody: {
       description: 'Data for the new user',
       required: true,
-      content: oaJsonContent(oaRef('UserInput')),
+      content: oaJsonContent(oaRef('UserInput')), // <= ссылка на компонент
       // "content": {
       //   "application/json": {
       //     "schema": {
@@ -229,7 +229,7 @@ builder.defineOperation({
     responses: {
       201: {
         description: 'User created',
-        content: oaJsonContent(oaRef('User')),
+        content: oaJsonContent(oaRef('User')), // <= ссылка на компонент
         // "content": {
         //   "application/json": {
         //     "schema": {