Comments (4)
Thanks a lot for that detail, @mattpolzin! I can see it now (I was previously looking in the api.github.com
description).
After testing the functionality of the endpoint that uses that schema (e.g. GET /feeds
on a GHES 2.22 server), it actually doesn't return an array. _links
just contains objects.
I'll get this fixed up in the schema 👍
from rest-api-description.
@mattpolzin Thanks for this report, but I'm having trouble finding this array in the schema; it might have already been fixed. Can you check and let me know if it's still there? A commit SHA/filename/line number would be great 🙇♂️
from rest-api-description.
Sure, with the current HEAD commit of main
(SHA 015ac73e48d69e9b2ee968682be32ab03865e5a2
), the _links
object is on line 34588 of /descriptions/ghes-2.22/ghes-2.22.yaml
.
Line 34590 starts the required array:
required:
- timeline
- user
This required array is does not make sense on the _links
object which is of type
"array". On the other hand, timeline
and user
are both properties of the associated items
object that starts on line 34593 which leads me to the "expected" section from my original issue report that suggests moving the required array into the items
object is probably the desired course of action.
from rest-api-description.
This has been fixed internally, and should be propagated to the public schema soon 🚀
from rest-api-description.
Related Issues (20)
- [Schema Inaccuracy] example for creating an installation token for an app shows incorrect example
- Fix example responses for job object queries in rest/actions/workflow-jobs HOT 5
- [Schema Inaccuracy] Github search repositories endpoint may not be returning correct list of repositories when filtered by 'pushed' date
- [Schema Inaccuracy] Undocumented "Pending" State for a Check Suite HOT 4
- Markdown View for descriptions HOT 1
- [Schema Inaccuracy] GitHub Actions Environment secrets can not be listed in the API if the repo environment name has a slash in it HOT 3
- [Schema Inaccuracy] <Missing properties in pulls API endpoint> HOT 1
- ### Summary
- Mellychain
- [Schema Inaccuracy] Missing required properties list for `deployment_protection_rule.requested` definition
- [Schema Inaccuracy] Missing required field issue_url in issue comment event HOT 2
- [REST] avatar_url examples are misleading HOT 7
- [Issue] Watchers is not pulling from the length of subscribers in `https://api.github.com/users/${owner}/starred` HOT 3
- > No longer need the crawl ID since we are aggregating directly. We usually need to decode it into a timestamp anyhow.
- undocumented `resource` field in the `/rate_limit` endpoint HOT 1
- [Schema Inaccuracy] Get Repository Unavailable for Legal Reasons
- Bushaha HOT 1
- [Schema Inaccuracy] <Describe Problem> HOT 1
- [Schema Inaccuracy] <Describe Problem> HOT 1
- [Schema Inaccuracy] incorrect `ref` parameter specification for ref deletion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-api-description.