I am submitting this post from the Mastodon API for my instance.

@vincentbiret Ha! @kevinswiber had literally just shared that with me. I am investigating and playing with. Y'all are building some cool things over there.

@kin
Ah perfect then! @kevinswiber Thanks for sharing it!

Another thing we're experimenting with is app.kiota.dev/
This is leveraging the apisjson format and a GitHub topic to index the API descriptions. Search , explore and generate clients for APIs all from the browser. :)

@vincentbiret @kevinswiber Interesting. We should chat and share more. We have a project harvesting all swagger + openapi from Github. Indexing. Running spectral rules against. Then going to widen it against search using Bing. Would love to index your work.

@kin @vincentbiret @kevinswiber Any chance you can project an apis.json of that index to some GitHub repo then Kiota can search over it?

@darrel_miller @vincentbiret I think @kin and @plgah are using a different dataset than I was, a fresh harvest. In either case, it’s fairly large, several thousand at this point. How would you want to consume that? Ideally, it would be de-duped, but even determining parameters for what makes a duplicate is an interesting exercise.

@kevinswiber We already search apis.guru which has thousands of entries. We provide a list of matches and then generate a key based on registry+api baseUrl+version and allow people to query the details of that. #kiota

@darrel_miller When you ingested APIs.guru data, did you crawl the API or did you use the GitHub repo? I think we’re collecting different metadata than APIs.guru, but it might be possible to use their API conventions as a de facto registry API we can mimic.

@kevinswiber I believe @vincentbiret called APIGurus API that returns everything as one big JSON file that we cache locally. We're not fussy about what metadata you have. We would like to standardize on the APIs.json format. All we need really is the link to the OpenAPI. #kiota

@darrel_miller @kevinswiber @vincentbiret "We would like to standardize on the APIs.json format. " <3 <3 ;-) ;-)

@kin @kevinswiber @vincentbiret That's what we are telling people to use if they want their API to show up in the #kiota search so people can generate API client code. microsoft.github.io/kiota/add- You can even use APIs.yaml 🙂

@darrel_miller @kevinswiber @vincentbiret Thank you. I'll publish an API.json API operation that you can search on our OpenAPI / Swagger index. I don't have any rating system yet -- that will come. They are validated, but not ded-uped or anything.

@kin @kevinswiber @vincentbiret We will be doing additional validation of the OpenAPI descriptions to detect issues that #Kiota codegen can't yet handle.

Follow

@darrel_miller @kevinswiber @vincentbiret Would love to learn from your learnings. We are going to publish a blog series on common mistakes we see.

· · Web · 1 · 0 · 1

@kin @darrel_miller @kevinswiber the validation is already implemented, not released yet. Navigating to the issue you can see which things kiota validates for pre generation github.com/microsoft/kiota/pul

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!