|
swaggered again
|
# ? Aug 23, 2017 21:55 |
|
|
# ? May 26, 2024 19:47 |
|
swagger is for people who want to write rpc protocols but also want to be trendy and fashionable and put some pseudo-rest lipstick on it too.
|
# ? Aug 23, 2017 22:23 |
|
Sapozhnik posted:swagger is for people who want to write rpc protocols but also want to be trendy and fashionable and put some pseudo-rest lipstick on it too. wut. swagger has absolutely nothing to do with either rest or rpc design unless you're trying to say that using http response codes is "pseudo-rest lipstick"
|
# ? Aug 23, 2017 22:36 |
|
Swagger is like soap in that you can plug the schema into a thing and it works. Which is pretty cool unlike most rest apis you have to write your own client for because they only provide ruby or node packages.
|
# ? Aug 23, 2017 22:51 |
|
swagger is gr8 cause its secretly wsdl but in json form so it doesn't scare web "developers"
|
# ? Aug 23, 2017 22:53 |
|
Shaggar posted:swagger is gr8 cause its secretly wsdl but in json form so it doesn't scare web "developers" as a web dev I've never heard of swagger and don't care
|
# ? Aug 23, 2017 23:14 |
|
just lol at microsoft trolling me with this:quote:Generating good documentation and help pages as a part of your Web API using Swagger with the .NET Core implementation Swashbuckle.AspNetCore is as easy as adding a couple of NuGet packages and modifying the Startup.cs. oh right yeah that is totally not going to create a nest of poo poo just like every other webservice integration in visual studio edit: wait that generates the docs gently caress that's the opposite of what i would even want
|
# ? Aug 23, 2017 23:41 |
|
swashbuckle works great. also web service integration works great in vs so idk what you're on about
|
# ? Aug 23, 2017 23:42 |
|
Shaggar posted:swashbuckle works great. also web service integration works great in vs so idk what you're on about every time our webservice integration gets updated VS somehow fucks itself and manages to import old versions of the classes that then fail in some subtle way that only becomes apparent later in fairness this is probably more to do with how it was implemented than VS itself
|
# ? Aug 23, 2017 23:45 |
|
swagger is good. it lets you deploy rest services and autogenerate clients, including a webapp. if you ignore a bunch of the enterprisey parts of the spec it's pretty simple too
|
# ? Aug 23, 2017 23:50 |
|
im too old for all this modern web poo poo
|
# ? Aug 23, 2017 23:51 |
|
yeah im waiting for the supernova phase to end but it's taking an unusually long time for the web circus to get its poo poo together
|
# ? Aug 23, 2017 23:53 |
|
Shaggar posted:swagger is gr8 cause its secretly wsdl but in json form so it doesn't scare web "developers" yaml is the better json but still worse than xml. all of them are better than csv which some jerks insist on using for seed data. With embedded json.
|
# ? Aug 24, 2017 01:41 |
|
Powerful Two-Hander posted:im too old for all this modern web poo poo old man yells at cloud?
|
# ? Aug 24, 2017 02:03 |
|
necrotic posted:yaml is the better json but still worse than xml. all of them are better than csv which some jerks insist on using for seed data. With embedded json. yaml is bad cause its executable
|
# ? Aug 24, 2017 02:09 |
|
sbt is so bad the s stands for simple
|
# ? Aug 24, 2017 02:09 |
|
the b stands for bad
|
# ? Aug 24, 2017 02:15 |
|
the talent deficit posted:swagger is good. it lets you deploy rest services and autogenerate clients, including a webapp. if you ignore a bunch of the enterprisey parts of the spec it's pretty simple too literally wsdl then
|
# ? Aug 24, 2017 02:16 |
|
the enterprisey parts of wsdl are real good.
|
# ? Aug 24, 2017 02:19 |
|
wsdl is fine i guess, but people thinking it's a replacement for proper documentation continues to bite me every day.
|
# ? Aug 24, 2017 02:43 |
|
necrotic posted:yaml is the better json but still worse than xml. all of them are better than csv which some jerks insist on using for seed data. With embedded json. actually, xml > csv > json > yaml
|
# ? Aug 24, 2017 03:01 |
|
JewKiller 3000 posted:actually, xml > csv > json > yaml oh look a shaggar post
|
# ? Aug 24, 2017 03:09 |
|
i am in the process of converting one of our mongodb databases to postgres which i'm happy about but it's going to be an ungodly amount of really frustrating work
|
# ? Aug 24, 2017 03:09 |
|
InfrastructureWeek posted:oh look a shaggar post except i'm willing to be persuaded otherwise, if you have any arguments MALE SHOEGAZE posted:i am in the process of converting one of our mongodb databases to postgres stick the documents into postgres as a whole in jsonb form, do the rest of the conversion in sql as needed
|
# ? Aug 24, 2017 03:11 |
|
JewKiller 3000 posted:stick the documents into postgres as a whole in jsonb form, do the rest of the conversion in sql as needed yeah that's the plan
|
# ? Aug 24, 2017 03:11 |
|
MALE SHOEGAZE posted:sbt is so bad code:
|
# ? Aug 24, 2017 03:13 |
|
necrotic posted:yaml is the better json but still worse than xml. all of them are better than csv which some jerks insist on using for seed data. With embedded json.
|
# ? Aug 24, 2017 03:13 |
|
i liked swagger just fine when I was using it
|
# ? Aug 24, 2017 03:13 |
|
swagger is a strict improvement over writing json apis without swagger
|
# ? Aug 24, 2017 03:14 |
|
JawnV6 posted:i liked swagger just fine when I was using it Swagger was... right?
|
# ? Aug 24, 2017 03:16 |
|
Powerful Two-Hander posted:jfc I'm trying to use the api for this new chat thing and it's documented in yaml that you have to use "swagger" to read which can only be used locally if you have node.js running and install it via docker just use autorest. it'll make your life so much easier
|
# ? Aug 24, 2017 03:23 |
|
Shaggar posted:yaml is bad cause its executable same as xml or a dumb soap-as-json. Encoding types and trusting them by default is dumb as poo poo anywhere.
|
# ? Aug 24, 2017 03:44 |
|
JewKiller 3000 posted:actually, xml > csv > json > yaml i dont think i want to know what csv is doing in there
|
# ? Aug 24, 2017 04:08 |
|
MALE SHOEGAZE posted:sbt is so bad whenever a tech thing has "simple" in the name you can assume it is a complex hair all of awfulness
|
# ? Aug 24, 2017 05:35 |
|
MALE SHOEGAZE posted:sbt is so bad open = democratic simple = people's republic of
|
# ? Aug 24, 2017 05:40 |
|
fritz posted:i dont think i want to know what csv is doing in there it was in the post i quoted
|
# ? Aug 24, 2017 06:07 |
|
Sapozhnik posted:open = democratic
|
# ? Aug 24, 2017 06:12 |
|
honestly the only problem with a flat ini file is the lack of a defined schema and that's a weakness of like 90% of the formats that purport to replace it so just fuckin make flat ini files or do properly formed and schema'd xml.
|
# ? Aug 24, 2017 06:28 |
|
MALE SHOEGAZE posted:sbt is so bad i can't believe that "urgh xml" is considered a valid reason not to use maven. pisses me off so much
|
# ? Aug 24, 2017 07:41 |
|
|
# ? May 26, 2024 19:47 |
|
Sapozhnik posted:open = democratic
|
# ? Aug 24, 2017 07:53 |