bullet_train icon indicating copy to clipboard operation
bullet_train copied to clipboard

Fix OpenAPI warnings for system test

Open gazayas opened this issue 1 year ago • 5 comments

Although the document produced in open_api_v3_test.rb is valid, we get a lot of warnings. I sat down for a bit with this one but couldn't quite seem to fix it. I noticed we're using different methods to write out the contents of the yaml file, so it might be worth looking into those to debug:

  1. Ruby's to_yaml
  2. Our _yaml_output

gazayas avatar Apr 19 '23 09:04 gazayas

cc/ @newstler in case you have any ideas

gazayas avatar Apr 21 '23 11:04 gazayas

@gazayas Could you please provide the output with those warnings? That would be very helpful.

newstler avatar Apr 21 '23 12:04 newstler

Sure thing, it's just the output when running the open_api_v3_test.rb system test. Does running the test yield a different result for you?

Test Output
> bundle exec rails test test/system/open_api_v3_test.rb
🌱 Generating global seeds.

Creating a platform application for Zapier. Within the `zapier` directory, run:

  cd zapier
  zapier env:set 1.0.0 BASE_URL=https://gazayas.jp.ngrok.io CLIENT_ID=dyBwxWpm1_51W79AGAxH44-VA3aGrGao9dWgEiHeMQ8 CLIENT_SECRET=mqKtW1wNbP01KTLK5zwLCj60hjNIbWhaOlSn_QPG3YQ
  cd ..

🌱 Generating test environment seeds.
Coverage report generated for Unit Tests to /home/gazayas/work/bt/bullet_train/coverage. 60 / 296 LOC (20.27%) covered.
Run options: --seed 42271

# Running:

Puma starting in single mode...
* Puma version: 6.2.1 (ruby 3.2.1-p31) ("Speaking of Now")
*  Min threads: 5
*  Max threads: 5
*  Environment: test
*          PID: 28111
* Listening on http://127.0.0.1:3001
Use Ctrl-C to stop
yarn exec v1.22.19
No configurations were provided -- using built in recommended configuration by default.

validating http://localhost:3001/api/v1/openapi.yaml...
[1] http:/localhost:3001/api/v1/openapi.yaml:472:23 at #/paths/~1teams/get/responses/200/content/application~1json/example/0/id

Example value must conform to the schema: `id` property type must be string.

470 |     $ref: "#/components/schemas/TeamAttributes"
471 | example:
472 |   - id: 1
    |         ^
473 |     name: EXAMPLE Generic Team 6
474 |     time_zone: International Date Line West

referenced from http:/localhost:3001/api/v1/openapi.yaml:467:15 at #/paths/~1teams/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[2] http:/localhost:3001/api/v1/openapi.yaml:478:23 at #/paths/~1teams/get/responses/200/content/application~1json/example/1/id

Example value must conform to the schema: `id` property type must be string.

476 |   created_at: '2023-04-21T13:10:54.500Z'
477 |   updated_at: '2023-04-21T13:10:54.500Z'
478 | - id: 2
    |       ^
479 |   name: EXAMPLE Generic Team 7
480 |   time_zone: International Date Line West

referenced from http:/localhost:3001/api/v1/openapi.yaml:467:15 at #/paths/~1teams/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[3] http:/localhost:3001/api/v1/openapi.yaml:504:21 at #/paths/~1teams~1{id}/get/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

502 |   $ref: "#/components/schemas/TeamAttributes"
503 | example:
504 |   id: 1
    |       ^
505 |   name: EXAMPLE Generic Team 8
506 |   time_zone: International Date Line West

referenced from http:/localhost:3001/api/v1/openapi.yaml:501:15 at #/paths/~1teams~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[4] http:/localhost:3001/api/v1/openapi.yaml:530:15 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json/example/name

Example value must conform to the schema: must NOT have unevaluated properties `name`.

528 |       $ref: "#/components/schemas/TeamParameters"
529 | example:
530 |   name: EXAMPLE Generic Team 9
    |   ^^^^
531 |   time_zone: International Date Line West
532 |   locale: en

referenced from http:/localhost:3001/api/v1/openapi.yaml:523:13 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[5] http:/localhost:3001/api/v1/openapi.yaml:531:15 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json/example/time_zone

Example value must conform to the schema: must NOT have unevaluated properties `time_zone`.

529 |           example:
530 |             name: EXAMPLE Generic Team 9
531 |             time_zone: International Date Line West
    |             ^^^^^^^^^
532 |             locale: en
533 | 

referenced from http:/localhost:3001/api/v1/openapi.yaml:523:13 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[6] http:/localhost:3001/api/v1/openapi.yaml:532:15 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json/example/locale

Example value must conform to the schema: must NOT have unevaluated properties `locale`.

530 |             name: EXAMPLE Generic Team 9
531 |             time_zone: International Date Line West
532 |             locale: en
    |             ^^^^^^
533 | 
534 |     responses:

referenced from http:/localhost:3001/api/v1/openapi.yaml:523:13 at #/paths/~1teams~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[7] http:/localhost:3001/api/v1/openapi.yaml:544:21 at #/paths/~1teams~1{id}/put/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

542 |   $ref: "#/components/schemas/TeamAttributes"
543 | example:
544 |   id: 1
    |       ^
545 |   name: EXAMPLE Generic Team 10
546 |   time_zone: International Date Line West

referenced from http:/localhost:3001/api/v1/openapi.yaml:541:15 at #/paths/~1teams~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[8] http:/localhost:3001/api/v1/openapi.yaml:577:23 at #/paths/~1users/get/responses/200/content/application~1json/example/0/id

Example value must conform to the schema: `id` property type must be string.

575 |     $ref: "#/components/schemas/UserAttributes"
576 | example:
577 |   - id: 2
    |         ^
578 |     email: [email protected]
579 |     first_name: EXAMPLE First Name

referenced from http:/localhost:3001/api/v1/openapi.yaml:572:15 at #/paths/~1users/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[9] http:/localhost:3001/api/v1/openapi.yaml:582:19 at #/paths/~1users/get/responses/200/content/application~1json/example/0/locale

Example value must conform to the schema: `locale` property type must be string.

580 | last_name: Last Name
581 | time_zone: International Date Line West
582 | locale: 
    | ^^^^^^^
583 | created_at: '2023-04-21T13:10:54.643Z'
584 | updated_at: '2023-04-21T13:10:54.654Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:572:15 at #/paths/~1users/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[10] http:/localhost:3001/api/v1/openapi.yaml:585:23 at #/paths/~1users/get/responses/200/content/application~1json/example/1/id

Example value must conform to the schema: `id` property type must be string.

583 |   created_at: '2023-04-21T13:10:54.643Z'
584 |   updated_at: '2023-04-21T13:10:54.654Z'
585 | - id: 3
    |       ^
586 |   email: [email protected]
587 |   first_name: EXAMPLE First Name

referenced from http:/localhost:3001/api/v1/openapi.yaml:572:15 at #/paths/~1users/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[11] http:/localhost:3001/api/v1/openapi.yaml:590:19 at #/paths/~1users/get/responses/200/content/application~1json/example/1/locale

Example value must conform to the schema: `locale` property type must be string.

588 | last_name: Last Name
589 | time_zone: International Date Line West
590 | locale: 
    | ^^^^^^^
591 | created_at: '2023-04-21T13:10:54.659Z'
592 | updated_at: '2023-04-21T13:10:54.670Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:572:15 at #/paths/~1users/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[12] http:/localhost:3001/api/v1/openapi.yaml:612:21 at #/paths/~1users~1{id}/get/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

610 |   $ref: "#/components/schemas/UserAttributes"
611 | example:
612 |   id: 2
    |       ^
613 |   email: [email protected]
614 |   first_name: EXAMPLE First Name

referenced from http:/localhost:3001/api/v1/openapi.yaml:609:15 at #/paths/~1users~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[13] http:/localhost:3001/api/v1/openapi.yaml:617:17 at #/paths/~1users~1{id}/get/responses/200/content/application~1json/example/locale

Example value must conform to the schema: `locale` property type must be string.

615 | last_name: Last Name
616 | time_zone: International Date Line West
617 | locale: 
    | ^^^^^^^
618 | created_at: '2023-04-21T13:10:54.715Z'
619 | updated_at: '2023-04-21T13:10:54.726Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:609:15 at #/paths/~1users~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[14] http:/localhost:3001/api/v1/openapi.yaml:640:15 at #/paths/~1users~1{id}/put/requestBody/content/application~1json/example/email

Example value must conform to the schema: must NOT have unevaluated properties `email`.

638 |       $ref: "#/components/schemas/UserParameters"
639 | example:
640 |   email: [email protected]
    |   ^^^^^
641 |   first_name: EXAMPLE First Name
642 |   last_name: Last Name

referenced from http:/localhost:3001/api/v1/openapi.yaml:633:13 at #/paths/~1users~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[15] http:/localhost:3001/api/v1/openapi.yaml:641:15 at #/paths/~1users~1{id}/put/requestBody/content/application~1json/example/first_name

Example value must conform to the schema: must NOT have unevaluated properties `first_name`.

639 | example:
640 |   email: [email protected]
641 |   first_name: EXAMPLE First Name
    |   ^^^^^^^^^^
642 |   last_name: Last Name
643 |   time_zone: International Date Line West

referenced from http:/localhost:3001/api/v1/openapi.yaml:633:13 at #/paths/~1users~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[16] http:/localhost:3001/api/v1/openapi.yaml:642:15 at #/paths/~1users~1{id}/put/requestBody/content/application~1json/example/last_name

Example value must conform to the schema: must NOT have unevaluated properties `last_name`.

640 | email: [email protected]
641 | first_name: EXAMPLE First Name
642 | last_name: Last Name
    | ^^^^^^^^^
643 | time_zone: International Date Line West
644 | locale: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:633:13 at #/paths/~1users~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[17] http:/localhost:3001/api/v1/openapi.yaml:643:15 at #/paths/~1users~1{id}/put/requestBody/content/application~1json/example/time_zone

Example value must conform to the schema: must NOT have unevaluated properties `time_zone`.

641 |             first_name: EXAMPLE First Name
642 |             last_name: Last Name
643 |             time_zone: International Date Line West
    |             ^^^^^^^^^
644 |             locale: 
645 | 

referenced from http:/localhost:3001/api/v1/openapi.yaml:633:13 at #/paths/~1users~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[18] http:/localhost:3001/api/v1/openapi.yaml:644:15 at #/paths/~1users~1{id}/put/requestBody/content/application~1json/example/locale

Example value must conform to the schema: must NOT have unevaluated properties `locale`.

642 |             last_name: Last Name
643 |             time_zone: International Date Line West
644 |             locale: 
    |             ^^^^^^^
645 | 
646 |     responses:

referenced from http:/localhost:3001/api/v1/openapi.yaml:633:13 at #/paths/~1users~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[19] http:/localhost:3001/api/v1/openapi.yaml:656:21 at #/paths/~1users~1{id}/put/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

654 |   $ref: "#/components/schemas/UserAttributes"
655 | example:
656 |   id: 2
    |       ^
657 |   email: [email protected]
658 |   first_name: EXAMPLE First Name

referenced from http:/localhost:3001/api/v1/openapi.yaml:653:15 at #/paths/~1users~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[20] http:/localhost:3001/api/v1/openapi.yaml:661:17 at #/paths/~1users~1{id}/put/responses/200/content/application~1json/example/locale

Example value must conform to the schema: `locale` property type must be string.

659 | last_name: Last Name
660 | time_zone: International Date Line West
661 | locale: 
    | ^^^^^^^
662 | created_at: '2023-04-21T13:10:54.809Z'
663 | updated_at: '2023-04-21T13:10:54.819Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:653:15 at #/paths/~1users~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[21] http:/localhost:3001/api/v1/openapi.yaml:696:17 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/get/responses/200/content/application~1json/example

Example value must conform to the schema: type must be array.

694 |                 $ref: "#/components/schemas/WebhooksOutgoingEndpointAttributes"
695 |             example:
696 |               id: 1
    |               ^^^^^
697 |               team_id: 1
    |               ^^^^^^^^^^
  … |               < 4 more lines >
702 |               updated_at: '2023-04-21T13:10:54.846Z'
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
703 | 
704 |   post:

referenced from http:/localhost:3001/api/v1/openapi.yaml:691:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[22] http:/localhost:3001/api/v1/openapi.yaml:727:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json/example/url

Example value must conform to the schema: must NOT have unevaluated properties `url`.

725 |       $ref: "#/components/schemas/WebhooksOutgoingEndpointParameters"
726 | example:
727 |   url: https://example.com/some-endpoint-url
    |   ^^^
728 |   name: Example Endpoint
729 |   event_type_ids: []

referenced from http:/localhost:3001/api/v1/openapi.yaml:720:13 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[23] http:/localhost:3001/api/v1/openapi.yaml:728:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json/example/name

Example value must conform to the schema: must NOT have unevaluated properties `name`.

726 |           example:
727 |             url: https://example.com/some-endpoint-url
728 |             name: Example Endpoint
    |             ^^^^
729 |             event_type_ids: []
730 | 

referenced from http:/localhost:3001/api/v1/openapi.yaml:720:13 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[24] http:/localhost:3001/api/v1/openapi.yaml:729:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json/example/event_type_ids

Example value must conform to the schema: must NOT have unevaluated properties `event_type_ids`.

727 |             url: https://example.com/some-endpoint-url
728 |             name: Example Endpoint
729 |             event_type_ids: []
    |             ^^^^^^^^^^^^^^
730 | 
731 |     responses:

referenced from http:/localhost:3001/api/v1/openapi.yaml:720:13 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[25] http:/localhost:3001/api/v1/openapi.yaml:741:21 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/responses/201/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

739 |   $ref: "#/components/schemas/WebhooksOutgoingEndpointAttributes"
740 | example:
741 |   id: 1
    |       ^
742 |   team_id: 1
743 |   url: https://example.com/some-endpoint-url

referenced from http:/localhost:3001/api/v1/openapi.yaml:738:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[26] http:/localhost:3001/api/v1/openapi.yaml:742:26 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/responses/201/content/application~1json/example/team_id

Example value must conform to the schema: `team_id` property type must be string.

740 | example:
741 |   id: 1
742 |   team_id: 1
    |            ^
743 |   url: https://example.com/some-endpoint-url
744 |   name: Example Endpoint

referenced from http:/localhost:3001/api/v1/openapi.yaml:738:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1endpoints/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[27] http:/localhost:3001/api/v1/openapi.yaml:767:21 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/get/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

765 |   $ref: "#/components/schemas/WebhooksOutgoingEndpointAttributes"
766 | example:
767 |   id: 1
    |       ^
768 |   team_id: 1
769 |   url: https://example.com/some-endpoint-url

referenced from http:/localhost:3001/api/v1/openapi.yaml:764:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[28] http:/localhost:3001/api/v1/openapi.yaml:768:26 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/get/responses/200/content/application~1json/example/team_id

Example value must conform to the schema: `team_id` property type must be string.

766 | example:
767 |   id: 1
768 |   team_id: 1
    |            ^
769 |   url: https://example.com/some-endpoint-url
770 |   name: Example Endpoint

referenced from http:/localhost:3001/api/v1/openapi.yaml:764:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[29] http:/localhost:3001/api/v1/openapi.yaml:794:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json/example/url

Example value must conform to the schema: must NOT have unevaluated properties `url`.

792 |       $ref: "#/components/schemas/WebhooksOutgoingEndpointParameters"
793 | example:
794 |   url: https://example.com/some-endpoint-url
    |   ^^^
795 |   name: Example Endpoint
796 |   event_type_ids: []

referenced from http:/localhost:3001/api/v1/openapi.yaml:787:13 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[30] http:/localhost:3001/api/v1/openapi.yaml:795:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json/example/name

Example value must conform to the schema: must NOT have unevaluated properties `name`.

793 |           example:
794 |             url: https://example.com/some-endpoint-url
795 |             name: Example Endpoint
    |             ^^^^
796 |             event_type_ids: []
797 | 

referenced from http:/localhost:3001/api/v1/openapi.yaml:787:13 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[31] http:/localhost:3001/api/v1/openapi.yaml:796:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json/example/event_type_ids

Example value must conform to the schema: must NOT have unevaluated properties `event_type_ids`.

794 |             url: https://example.com/some-endpoint-url
795 |             name: Example Endpoint
796 |             event_type_ids: []
    |             ^^^^^^^^^^^^^^
797 | 
798 |     responses:

referenced from http:/localhost:3001/api/v1/openapi.yaml:787:13 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[32] http:/localhost:3001/api/v1/openapi.yaml:808:21 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

806 |   $ref: "#/components/schemas/WebhooksOutgoingEndpointAttributes"
807 | example:
808 |   id: 1
    |       ^
809 |   team_id: 1
810 |   url: https://example.com/some-endpoint-url

referenced from http:/localhost:3001/api/v1/openapi.yaml:805:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[33] http:/localhost:3001/api/v1/openapi.yaml:809:26 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/responses/200/content/application~1json/example/team_id

Example value must conform to the schema: `team_id` property type must be string.

807 | example:
808 |   id: 1
809 |   team_id: 1
    |            ^
810 |   url: https://example.com/some-endpoint-url
811 |   name: Example Endpoint

referenced from http:/localhost:3001/api/v1/openapi.yaml:805:15 at #/paths/~1webhooks~1outgoing~1endpoints~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[34] http:/localhost:3001/api/v1/openapi.yaml:859:17 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1events/get/responses/200/content/application~1json/example

Example value must conform to the schema: type must be array.

857 |                 $ref: "#/components/schemas/WebhooksOutgoingEventAttributes"
858 |             example:
859 |               id: 1
    |               ^^^^^
860 |               team_id: 2
    |               ^^^^^^^^^^
  … |               < 5 more lines >
866 |               created_at: '2023-04-21T13:10:54.951Z'
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
867 | 
868 | /webhooks/outgoing/events/{id}:

referenced from http:/localhost:3001/api/v1/openapi.yaml:854:15 at #/paths/~1teams~1{team_id}~1webhooks~1outgoing~1events/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[35] http:/localhost:3001/api/v1/openapi.yaml:886:21 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

884 |   $ref: "#/components/schemas/WebhooksOutgoingEventAttributes"
885 | example:
886 |   id: 1
    |       ^
887 |   team_id: 2
888 |   uuid: a9ff27183d9b52c41f56a27bd1db56d2

referenced from http:/localhost:3001/api/v1/openapi.yaml:883:15 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[36] http:/localhost:3001/api/v1/openapi.yaml:887:26 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json/example/team_id

Example value must conform to the schema: `team_id` property type must be string.

885 | example:
886 |   id: 1
887 |   team_id: 2
    |            ^
888 |   uuid: a9ff27183d9b52c41f56a27bd1db56d2
889 |   event_type_id: scaffolding/absolutely_abstract/creative_concept.created

referenced from http:/localhost:3001/api/v1/openapi.yaml:883:15 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[37] http:/localhost:3001/api/v1/openapi.yaml:890:29 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json/example/subject_id

Example value must conform to the schema: `subject_id` property type must be string.

888 | uuid: a9ff27183d9b52c41f56a27bd1db56d2
889 | event_type_id: scaffolding/absolutely_abstract/creative_concept.created
890 | subject_id: 1
    |             ^
891 | subject_type: Scaffolding::AbsolutelyAbstract::CreativeConcept
892 | data: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:883:15 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[38] http:/localhost:3001/api/v1/openapi.yaml:892:17 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json/example/data

Example value must conform to the schema: `data` property type must be string.

890 |               subject_id: 1
891 |               subject_type: Scaffolding::AbsolutelyAbstract::CreativeConcept
892 |               data: 
    |               ^^^^^
893 |               created_at: '2023-04-21T13:10:54.951Z'
894 | 

referenced from http:/localhost:3001/api/v1/openapi.yaml:883:15 at #/paths/~1webhooks~1outgoing~1events~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[39] http:/localhost:3001/api/v1/openapi.yaml:938:17 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/get/responses/200/content/application~1json/example

Example value must conform to the schema: type must be array.

936 |                 $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
937 |             example:
938 |               id: 1
    |               ^^^^^
939 |               absolutely_abstract_creative_concept_id: 6
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  … |               < 22 more lines >
962 |               updated_at: '2023-04-21T13:10:55.037Z'
    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
963 | 
964 |   post:

referenced from http:/localhost:3001/api/v1/openapi.yaml:933:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[40] http:/localhost:3001/api/v1/openapi.yaml:987:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/text_field_value

Example value must conform to the schema: must NOT have unevaluated properties `text_field_value`.

985 |       $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
986 | example:
987 |   text_field_value: Example
    |   ^^^^^^^^^^^^^^^^
988 |   button_value: one
989 |   color_picker_value: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[41] http:/localhost:3001/api/v1/openapi.yaml:988:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/button_value

Example value must conform to the schema: must NOT have unevaluated properties `button_value`.

986 | example:
987 |   text_field_value: Example
988 |   button_value: one
    |   ^^^^^^^^^^^^
989 |   color_picker_value: 
990 |   cloudinary_image_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[42] http:/localhost:3001/api/v1/openapi.yaml:989:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/color_picker_value

Example value must conform to the schema: must NOT have unevaluated properties `color_picker_value`.

987 | text_field_value: Example
988 | button_value: one
989 | color_picker_value: 
    | ^^^^^^^^^^^^^^^^^^^
990 | cloudinary_image_value: MyString
991 | date_field_value: '2019-12-03'

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[43] http:/localhost:3001/api/v1/openapi.yaml:990:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/cloudinary_image_value

Example value must conform to the schema: must NOT have unevaluated properties `cloudinary_image_value`.

988 | button_value: one
989 | color_picker_value: 
990 | cloudinary_image_value: MyString
    | ^^^^^^^^^^^^^^^^^^^^^^
991 | date_field_value: '2019-12-03'
992 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[44] http:/localhost:3001/api/v1/openapi.yaml:991:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/date_field_value

Example value must conform to the schema: must NOT have unevaluated properties `date_field_value`.

989 | color_picker_value: 
990 | cloudinary_image_value: MyString
991 | date_field_value: '2019-12-03'
    | ^^^^^^^^^^^^^^^^
992 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
993 | email_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[45] http:/localhost:3001/api/v1/openapi.yaml:992:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/date_and_time_field_value

Example value must conform to the schema: must NOT have unevaluated properties `date_and_time_field_value`.

990 | cloudinary_image_value: MyString
991 | date_field_value: '2019-12-03'
992 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
993 | email_field_value: MyString
994 | password_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[46] http:/localhost:3001/api/v1/openapi.yaml:993:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/email_field_value

Example value must conform to the schema: must NOT have unevaluated properties `email_field_value`.

991 | date_field_value: '2019-12-03'
992 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
993 | email_field_value: MyString
    | ^^^^^^^^^^^^^^^^^
994 | password_field_value: MyString
995 | phone_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[47] http:/localhost:3001/api/v1/openapi.yaml:994:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/password_field_value

Example value must conform to the schema: must NOT have unevaluated properties `password_field_value`.

992 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
993 | email_field_value: MyString
994 | password_field_value: MyString
    | ^^^^^^^^^^^^^^^^^^^^
995 | phone_field_value: MyString
996 | option_value: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[48] http:/localhost:3001/api/v1/openapi.yaml:995:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/phone_field_value

Example value must conform to the schema: must NOT have unevaluated properties `phone_field_value`.

993 | email_field_value: MyString
994 | password_field_value: MyString
995 | phone_field_value: MyString
    | ^^^^^^^^^^^^^^^^^
996 | option_value: 
997 | multiple_option_values: []

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[49] http:/localhost:3001/api/v1/openapi.yaml:996:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/option_value

Example value must conform to the schema: must NOT have unevaluated properties `option_value`.

994 | password_field_value: MyString
995 | phone_field_value: MyString
996 | option_value: 
    | ^^^^^^^^^^^^^
997 | multiple_option_values: []
998 | super_select_value: three

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[50] http:/localhost:3001/api/v1/openapi.yaml:997:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/multiple_option_values

Example value must conform to the schema: must NOT have unevaluated properties `multiple_option_values`.

995 | phone_field_value: MyString
996 | option_value: 
997 | multiple_option_values: []
    | ^^^^^^^^^^^^^^^^^^^^^^
998 | super_select_value: three
999 | text_area_value: MyText

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[51] http:/localhost:3001/api/v1/openapi.yaml:998:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/super_select_value

Example value must conform to the schema: must NOT have unevaluated properties `super_select_value`.

 996 | option_value: 
 997 | multiple_option_values: []
 998 | super_select_value: three
     | ^^^^^^^^^^^^^^^^^^
 999 | text_area_value: MyText
1000 | action_text_value:

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[52] http:/localhost:3001/api/v1/openapi.yaml:999:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/text_area_value

Example value must conform to the schema: must NOT have unevaluated properties `text_area_value`.

 997 | multiple_option_values: []
 998 | super_select_value: three
 999 | text_area_value: MyText
     | ^^^^^^^^^^^^^^^
1000 | action_text_value:
1001 |   id: 7

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[53] http:/localhost:3001/api/v1/openapi.yaml:1000:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json/example/action_text_value

Example value must conform to the schema: must NOT have unevaluated properties `action_text_value`.

 998 | super_select_value: three
 999 | text_area_value: MyText
1000 | action_text_value:
     | ^^^^^^^^^^^^^^^^^
1001 |   id: 7
1002 |   name: action_text_value

referenced from http:/localhost:3001/api/v1/openapi.yaml:980:13 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[54] http:/localhost:3001/api/v1/openapi.yaml:1019:21 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

1017 |   $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
1018 | example:
1019 |   id: 1
     |       ^
1020 |   absolutely_abstract_creative_concept_id: 8
1021 |   text_field_value: Example

referenced from http:/localhost:3001/api/v1/openapi.yaml:1016:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[55] http:/localhost:3001/api/v1/openapi.yaml:1020:58 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json/example/absolutely_abstract_creative_concept_id

Example value must conform to the schema: `absolutely_abstract_creative_concept_id` property type must be string.

1018 | example:
1019 |   id: 1
1020 |   absolutely_abstract_creative_concept_id: 8
     |                                            ^
1021 |   text_field_value: Example
1022 |   button_value: one

referenced from http:/localhost:3001/api/v1/openapi.yaml:1016:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[56] http:/localhost:3001/api/v1/openapi.yaml:1023:17 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json/example/color_picker_value

Example value must conform to the schema: `color_picker_value` property type must be string.

1021 | text_field_value: Example
1022 | button_value: one
1023 | color_picker_value: 
     | ^^^^^^^^^^^^^^^^^^^
1024 | cloudinary_image_value: MyString
1025 | date_field_value: '2019-12-03'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1016:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[57] http:/localhost:3001/api/v1/openapi.yaml:1030:17 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json/example/option_value

Example value must conform to the schema: `option_value` property type must be string.

1028 | password_field_value: MyString
1029 | phone_field_value: MyString
1030 | option_value: 
     | ^^^^^^^^^^^^^
1031 | multiple_option_values: []
1032 | super_select_value: three

referenced from http:/localhost:3001/api/v1/openapi.yaml:1016:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[58] http:/localhost:3001/api/v1/openapi.yaml:1035:19 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json/example/action_text_value

Example value must conform to the schema: `action_text_value` property type must be string.

1033 | text_area_value: MyText
1034 | action_text_value:
1035 |   id: 8
     |   ^^^^^
1036 |   name: action_text_value
     |   ^^^^^^^^^^^^^^^^^^^^^^^
   … |   < 4 more lines >
1041 |   updated_at: '2023-04-21T13:10:55.096Z'
     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1042 | created_at: '2023-04-21T13:10:55.094Z'
1043 | updated_at: '2023-04-21T13:10:55.098Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1016:15 at #/paths/~1scaffolding~1absolutely_abstract~1creative_concepts~1{absolutely_abstract_creative_concept_id}~1completely_concrete~1tangible_things/post/responses/201/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[59] http:/localhost:3001/api/v1/openapi.yaml:1063:21 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

1061 |   $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
1062 | example:
1063 |   id: 1
     |       ^
1064 |   absolutely_abstract_creative_concept_id: 6
1065 |   text_field_value: Example

referenced from http:/localhost:3001/api/v1/openapi.yaml:1060:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[60] http:/localhost:3001/api/v1/openapi.yaml:1064:58 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json/example/absolutely_abstract_creative_concept_id

Example value must conform to the schema: `absolutely_abstract_creative_concept_id` property type must be string.

1062 | example:
1063 |   id: 1
1064 |   absolutely_abstract_creative_concept_id: 6
     |                                            ^
1065 |   text_field_value: Example
1066 |   button_value: one

referenced from http:/localhost:3001/api/v1/openapi.yaml:1060:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[61] http:/localhost:3001/api/v1/openapi.yaml:1067:17 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json/example/color_picker_value

Example value must conform to the schema: `color_picker_value` property type must be string.

1065 | text_field_value: Example
1066 | button_value: one
1067 | color_picker_value: 
     | ^^^^^^^^^^^^^^^^^^^
1068 | cloudinary_image_value: MyString
1069 | date_field_value: '2019-12-03'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1060:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[62] http:/localhost:3001/api/v1/openapi.yaml:1074:17 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json/example/option_value

Example value must conform to the schema: `option_value` property type must be string.

1072 | password_field_value: MyString
1073 | phone_field_value: MyString
1074 | option_value: 
     | ^^^^^^^^^^^^^
1075 | multiple_option_values: []
1076 | super_select_value: three

referenced from http:/localhost:3001/api/v1/openapi.yaml:1060:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[63] http:/localhost:3001/api/v1/openapi.yaml:1079:19 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json/example/action_text_value

Example value must conform to the schema: `action_text_value` property type must be string.

1077 | text_area_value: MyText
1078 | action_text_value:
1079 |   id: 6
     |   ^^^^^
1080 |   name: action_text_value
     |   ^^^^^^^^^^^^^^^^^^^^^^^
   … |   < 4 more lines >
1085 |   updated_at: '2023-04-21T13:10:55.036Z'
     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1086 | created_at: '2023-04-21T13:10:55.034Z'
1087 | updated_at: '2023-04-21T13:10:55.037Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1060:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/get/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[64] http:/localhost:3001/api/v1/openapi.yaml:1108:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/text_field_value

Example value must conform to the schema: must NOT have unevaluated properties `text_field_value`.

1106 |       $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingParameters"
1107 | example:
1108 |   text_field_value: Example
     |   ^^^^^^^^^^^^^^^^
1109 |   button_value: one
1110 |   color_picker_value: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[65] http:/localhost:3001/api/v1/openapi.yaml:1109:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/button_value

Example value must conform to the schema: must NOT have unevaluated properties `button_value`.

1107 | example:
1108 |   text_field_value: Example
1109 |   button_value: one
     |   ^^^^^^^^^^^^
1110 |   color_picker_value: 
1111 |   cloudinary_image_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[66] http:/localhost:3001/api/v1/openapi.yaml:1110:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/color_picker_value

Example value must conform to the schema: must NOT have unevaluated properties `color_picker_value`.

1108 | text_field_value: Example
1109 | button_value: one
1110 | color_picker_value: 
     | ^^^^^^^^^^^^^^^^^^^
1111 | cloudinary_image_value: MyString
1112 | date_field_value: '2019-12-03'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[67] http:/localhost:3001/api/v1/openapi.yaml:1111:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/cloudinary_image_value

Example value must conform to the schema: must NOT have unevaluated properties `cloudinary_image_value`.

1109 | button_value: one
1110 | color_picker_value: 
1111 | cloudinary_image_value: MyString
     | ^^^^^^^^^^^^^^^^^^^^^^
1112 | date_field_value: '2019-12-03'
1113 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[68] http:/localhost:3001/api/v1/openapi.yaml:1112:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/date_field_value

Example value must conform to the schema: must NOT have unevaluated properties `date_field_value`.

1110 | color_picker_value: 
1111 | cloudinary_image_value: MyString
1112 | date_field_value: '2019-12-03'
     | ^^^^^^^^^^^^^^^^
1113 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
1114 | email_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[69] http:/localhost:3001/api/v1/openapi.yaml:1113:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/date_and_time_field_value

Example value must conform to the schema: must NOT have unevaluated properties `date_and_time_field_value`.

1111 | cloudinary_image_value: MyString
1112 | date_field_value: '2019-12-03'
1113 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
     | ^^^^^^^^^^^^^^^^^^^^^^^^^
1114 | email_field_value: MyString
1115 | password_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[70] http:/localhost:3001/api/v1/openapi.yaml:1114:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/email_field_value

Example value must conform to the schema: must NOT have unevaluated properties `email_field_value`.

1112 | date_field_value: '2019-12-03'
1113 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
1114 | email_field_value: MyString
     | ^^^^^^^^^^^^^^^^^
1115 | password_field_value: MyString
1116 | phone_field_value: MyString

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[71] http:/localhost:3001/api/v1/openapi.yaml:1115:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/password_field_value

Example value must conform to the schema: must NOT have unevaluated properties `password_field_value`.

1113 | date_and_time_field_value: '2021-11-05T00:00:00.000Z'
1114 | email_field_value: MyString
1115 | password_field_value: MyString
     | ^^^^^^^^^^^^^^^^^^^^
1116 | phone_field_value: MyString
1117 | option_value: 

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[72] http:/localhost:3001/api/v1/openapi.yaml:1116:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/phone_field_value

Example value must conform to the schema: must NOT have unevaluated properties `phone_field_value`.

1114 | email_field_value: MyString
1115 | password_field_value: MyString
1116 | phone_field_value: MyString
     | ^^^^^^^^^^^^^^^^^
1117 | option_value: 
1118 | multiple_option_values: []

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[73] http:/localhost:3001/api/v1/openapi.yaml:1117:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/option_value

Example value must conform to the schema: must NOT have unevaluated properties `option_value`.

1115 | password_field_value: MyString
1116 | phone_field_value: MyString
1117 | option_value: 
     | ^^^^^^^^^^^^^
1118 | multiple_option_values: []
1119 | super_select_value: three

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[74] http:/localhost:3001/api/v1/openapi.yaml:1118:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/multiple_option_values

Example value must conform to the schema: must NOT have unevaluated properties `multiple_option_values`.

1116 | phone_field_value: MyString
1117 | option_value: 
1118 | multiple_option_values: []
     | ^^^^^^^^^^^^^^^^^^^^^^
1119 | super_select_value: three
1120 | text_area_value: MyText

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[75] http:/localhost:3001/api/v1/openapi.yaml:1119:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/super_select_value

Example value must conform to the schema: must NOT have unevaluated properties `super_select_value`.

1117 | option_value: 
1118 | multiple_option_values: []
1119 | super_select_value: three
     | ^^^^^^^^^^^^^^^^^^
1120 | text_area_value: MyText
1121 | action_text_value:

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[76] http:/localhost:3001/api/v1/openapi.yaml:1120:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/text_area_value

Example value must conform to the schema: must NOT have unevaluated properties `text_area_value`.

1118 | multiple_option_values: []
1119 | super_select_value: three
1120 | text_area_value: MyText
     | ^^^^^^^^^^^^^^^
1121 | action_text_value:
1122 |   id: 9

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[77] http:/localhost:3001/api/v1/openapi.yaml:1121:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json/example/action_text_value

Example value must conform to the schema: must NOT have unevaluated properties `action_text_value`.

1119 | super_select_value: three
1120 | text_area_value: MyText
1121 | action_text_value:
     | ^^^^^^^^^^^^^^^^^
1122 |   id: 9
1123 |   name: action_text_value

referenced from http:/localhost:3001/api/v1/openapi.yaml:1101:13 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/requestBody/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[78] http:/localhost:3001/api/v1/openapi.yaml:1140:21 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json/example/id

Example value must conform to the schema: `id` property type must be string.

1138 |   $ref: "#/components/schemas/ScaffoldingCompletelyConcreteTangibleThingAttributes"
1139 | example:
1140 |   id: 1
     |       ^
1141 |   absolutely_abstract_creative_concept_id: 10
1142 |   text_field_value: Example

referenced from http:/localhost:3001/api/v1/openapi.yaml:1137:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[79] http:/localhost:3001/api/v1/openapi.yaml:1141:58 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json/example/absolutely_abstract_creative_concept_id

Example value must conform to the schema: `absolutely_abstract_creative_concept_id` property type must be string.

1139 | example:
1140 |   id: 1
1141 |   absolutely_abstract_creative_concept_id: 10
     |                                            ^^
1142 |   text_field_value: Example
1143 |   button_value: one

referenced from http:/localhost:3001/api/v1/openapi.yaml:1137:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[80] http:/localhost:3001/api/v1/openapi.yaml:1144:17 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json/example/color_picker_value

Example value must conform to the schema: `color_picker_value` property type must be string.

1142 | text_field_value: Example
1143 | button_value: one
1144 | color_picker_value: 
     | ^^^^^^^^^^^^^^^^^^^
1145 | cloudinary_image_value: MyString
1146 | date_field_value: '2019-12-03'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1137:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[81] http:/localhost:3001/api/v1/openapi.yaml:1151:17 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json/example/option_value

Example value must conform to the schema: `option_value` property type must be string.

1149 | password_field_value: MyString
1150 | phone_field_value: MyString
1151 | option_value: 
     | ^^^^^^^^^^^^^
1152 | multiple_option_values: []
1153 | super_select_value: three

referenced from http:/localhost:3001/api/v1/openapi.yaml:1137:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


[82] http:/localhost:3001/api/v1/openapi.yaml:1156:19 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json/example/action_text_value

Example value must conform to the schema: `action_text_value` property type must be string.

1154 | text_area_value: MyText
1155 | action_text_value:
1156 |   id: 10
     |   ^^^^^^
1157 |   name: action_text_value
     |   ^^^^^^^^^^^^^^^^^^^^^^^
   … |   < 4 more lines >
1162 |   updated_at: '2023-04-21T13:10:55.157Z'
     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1163 | created_at: '2023-04-21T13:10:55.155Z'
1164 | updated_at: '2023-04-21T13:10:55.158Z'

referenced from http:/localhost:3001/api/v1/openapi.yaml:1137:15 at #/paths/~1scaffolding~1completely_concrete~1tangible_things~1{id}/put/responses/200/content/application~1json 

Warning was generated by the no-invalid-media-type-examples rule.


http://localhost:3001/api/v1/openapi.yaml: validated in 1379ms

Woohoo! Your OpenAPI definition is valid. 🎉
You have 82 warnings.

Done in 27.33s.
.

Finished in 29.942930s, 0.0334 runs/s, 0.0334 assertions/s.
1 runs, 1 assertions, 0 failures, 0 errors, 0 skips
> 

gazayas avatar Apr 21 '23 13:04 gazayas

Hm, mine are failing, even on a clean main branch. Weird, probably because of some previous work... Anyway, I have an idea how to get rid of those warnings, taking it to work!

newstler avatar Apr 21 '23 13:04 newstler

🙏️

gazayas avatar Apr 21 '23 13:04 gazayas

One of the warnings will stay till this bug in Redocly will be fixed (I left the comment there).

newstler avatar Apr 29 '23 18:04 newstler

I remember seeing that warning specifically, glad it's not on our side.

gazayas avatar May 01 '23 10:05 gazayas

Yep, I double-checked, — our routes are fine!

newstler avatar May 01 '23 10:05 newstler

Fixed by https://github.com/bullet-train-co/bullet_train-core/pull/270 and https://github.com/bullet-train-co/bullet_train/pull/749

newstler avatar May 06 '23 15:05 newstler