Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1enterprises~1{enterprise}~1audit-log/get #5482

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/audit-log/value

The field actor_ip doesn't exist in the schema, but exists in the example.

Here's a snippet

    1: [ {
>   2:   "actor_ip" : "88.123.45.123",
    3:   "from" : "pull_requests#merge",
    4:   "device_cookie" : null,
    5:   "actor" : "mona-admin",
    6:   "actor_id" : 7,

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • ghes-3.14
  • ghes-3.15
  • ghes-3.16
  • ghes-3.17

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions