Laurent Broudoux · @lbroudoux
18 followers · 34 posts · Server fosstodon.org

Did a bunch of -testing with @microcksio lately 😂 The nice point is that the history bar chart scales pretty well!

#openapi #contract

Last updated 1 year ago

Laurent Broudoux · @lbroudoux
18 followers · 33 posts · Server fosstodon.org
Robin Kipp · @robin_kipp
93 followers · 88 posts · Server sfba.social

Developer question, I’ve been looking into the new generator announced during . I have an OpenAPI spec file taken straight from a server, it all seems to work fine inside Xcode using the dynamic build plugin. I’ve noticed though that the various client methods corresponding to API endpoints use the operationID as defined in the schema, resulting in snake case method names such as get_scheduled_events() instead of camel case getScheduledEvents() which would be the proper convention for Swift. This also goes for names of schema components defined in the spec. Is this expected and just the cost of using a generalized code generator, or am I doing something wrong? Is there some way to override this by e.g. defining method and schema model names manually using the CodingKey protocol, or do I need to convert operationIDs and schema names in my spec from snake to camel case? This is my first time ever looking into OpenAPI, so possibly I’m missing something obvious.

#swift #openapi #wwdc23 #python #django

Last updated 1 year ago

David Biesack · @DavidBiesack
70 followers · 70 posts · Server fosstodon.org

"Getting Creative with OpenAPI" -- my next article in the series in , where I walk through many aspects of defining a resource creation operation in apidesignmatters.substack.com/

#apis #languageofapidesign #apidesignmatters #openapi

Last updated 1 year ago

· @rollspelosofen
110 followers · 679 posts · Server mastodon.nu

Idag har jag upptäckt och lekt med fejka.nu/

En gratis tjänst som genererar random(men korrekt uformade) personuppgifter, baserat på Skatteverkets öppna API(som är mer komplicerat att använda). Ja, personuppgifter som du kan använda för att testa system med, använda i en bok eller i en film, eller i något helt annat syfte som jag inte kommer på just nu.

#testdata #openapi

Last updated 1 year ago

Curtis "Ovid" Poe · @ovid
928 followers · 2230 posts · Server fosstodon.org

Writing a parser for the parser.

Because it might be eventually useful in the core (unsure due to vagueness with upcoming EU CRA regulations), I can't use a standard validator and I'm crafting it by hand with core Perl.

It's fun, but much harder!

#cyberdx #SBOM #json #perl #openapi

Last updated 1 year ago

Phil Sturgeon · @Philsturgeon
2228 followers · 549 posts · Server mastodon.green

💻 Deprecating a package with 200,000 installs a week feels funny, but I've been waiting for a chance to bin off swagger-cli for ages. It's not being maintained (some upstream dependencies are which helps) but even the name is out of date. Thankfully the CLI does everything it did, but better, so I recommend you go use that.

More deprecations of old tooling to come as I find more viable modern alternatives.


npmjs.com/package/@redocly/cli

#redocly #openapi #apidesign #apidevelopment #opensource

Last updated 1 year ago

Phil Sturgeon · @Philsturgeon
2218 followers · 536 posts · Server mastodon.green

💻 Woah, I'm reviewing @Redocly CLI and I just noticed the amazing split command!

$ redocly split api/openapi.yaml --outDir output/

This will neatly split a sprawling messy description into multiple documents using $ref, reducing duplication, making it easier to work with.

Get it: github.com/Redocly/redocly-cli

#openapi #apidevelopment #apidesign #rest #http

Last updated 1 year ago

fistons :rust: :java: :godot: · @fistons
31 followers · 138 posts · Server fosstodon.org

Is there any existing crate that validate requests against an specification?

I know I could generate the spec with the code, but I like to write my specification all by myself (don't wanna be 🎶 ) and then I want to verify that my incoming requests matches the specification

#rustlang #openapi #actix #api #rest

Last updated 1 year ago

Andreas Haller · @ahx
79 followers · 121 posts · Server ruby.social

In HTTP APIs – What is your favorite way to encode Arrays in query parameters?

#apis #api #openapi

Last updated 1 year ago

gregsdennis · @gregsdennis
35 followers · 279 posts · Server dotnet.social

New project alert! models built on System.Text.Json. Supports v3.0.x and v3.1!

nuget.org/packages/Graeae.Mode

#openapi

Last updated 1 year ago

Lars Kellogg-Stedman · @larsks
144 followers · 190 posts · Server hachyderm.io

And before I forget, I discovered "streams" support in and thought it was pretty nifty so I wrote a short article about it: blog.oddbit.com/post/2023-07-2

In particular, we look at how to remove a particular attribute (`description`) that could occur at any level in a deeply nested JSON document (an spec).

#jq #openapi

Last updated 1 year ago

Phil Sturgeon · @Philsturgeon
2189 followers · 493 posts · Server mastodon.green

💻 Switching to means I can no only work with software companies who are named after plants or trees. Sorry, I don't make the rules. apisyouwonthate.com/blog/gener

#greentech #devex #openapi #apideveloper

Last updated 1 year ago

Bump.sh · @Bump_hq
16 followers · 40 posts · Server fosstodon.org

In today's blog post we will discuss whether or is best for communicating the ins and outs of your

🧐 Have you ever wondered in which cases both standards reveal their strengths and weaknesses ?

You will know after this read ⬇️
bump.sh/blog/asyncapi-vs-opena

#openapi #asyncapi #api

Last updated 1 year ago

Darryl Anderson · @DarrylAnderson
45 followers · 1379 posts · Server techhub.social
Mark Gardner ‍:sdf: · @mjgardner
734 followers · 5234 posts · Server social.sdf.org

@b0rk @randomgeek @hbuchel It’s funny how most “ have similarly missed the full point of @fielding’s actual “just normal web things” style by not using hypertext as the engine of application state ().

They’re just replaying all of ’s and ’s sins by relying on a fixed interface that is either revealed through documentation or an like .

#restful #webservices #rest #hateoas #soap #corba #interfacedescriptionlanguage #openapi

Last updated 1 year ago

Andreas Haller · @ahx
79 followers · 119 posts · Server ruby.social

Wow! There is a json_schemer 2.0 PR with support for Draft 2020-12, OpenAPI 3.1 and output formation. David is on fire!

#ruby #openapi #jsonschema

Last updated 1 year ago

openapiprocessor · @OpenApiProcess
5 followers · 14 posts · Server fosstodon.org
Bump.sh · @Bump_hq
15 followers · 34 posts · Server fosstodon.org

do not have to be boring!

You can enhance how you describe and document the concepts in your with cool images 🖼️

If yours is based on or , you can now perfectly size them 📐 on bump.sh/

Read how: bump.sh/blog/sizing-image-api-

#apidocs #api #openapi #asyncapi

Last updated 1 year ago

вנöяи ☮️ · @BrocksiNet
19 followers · 13 posts · Server phpc.social

Wrote a new blog post about OpenAPI specifications. Maybe you need something to read? Tell me your thoughts. Thx.

brocksi.net/blog/openapi-speci

#openapi #shopware #typescript

Last updated 1 year ago