Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Validator doesn't report properties that are in the required list but not defined #266

Open
@energister

Description

@energister

Following specification causes validator to report only theevent-photo property

Required list has not defined properties: ['event-photo']

whereas I would expect similar messages for theproblem-type,order-trees andsite-location properties.

openapi: 3.0.3info:  title: Protect Earth API  version: 0.3.0paths:  /events:    get:      operationId: get-events      summary: Get Events      description: Get a list of all the events      tags:        - Event      responses:        '200':          description: OK          content:            application/json:              schema:                type: array                items:                  $ref: '#/components/schemas/Generic_Problem'  /orders:    post:      operationId: post-orders      summary: Create Order      tags:        - Order      requestBody:        required: true        content:          application/json:            schema:              $ref: '#/components/schemas/Order'      responses:        '201':          description: OK          content:            application/json:              schema:                $ref: '#/components/schemas/Event'components:  schemas:    Generic_Problem:      title: Problem      type: object      required:        - problem-type        - title      properties:        title:          type: string        status:          type: integer      Event:      title: Event      type: object      required:        - description        - event-photo      properties:        id:          type: string        summary:          type: string        description:          type: string    Order:      title: Order      type: object      required:        - site        - order-trees      properties:        id:          type: string          format: uuid          readOnly: true        site:          $ref: '#/components/schemas/Site'    Site:      title: Site      type: object      required:        - url        - site-location      properties:        id:          type: string          format: uuid        url:          type: string          format: url

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp