News for hackers. Stuff that matters.
Re:Write OpenAPI with TypeSpec by sroussey on Wednesday March 27, 2024 @08:21PM (#39846322)
Code first for prototyping and early stage.

Then switch as soon as you have customers.

Re:Write OpenAPI with TypeSpec by Petermarcu on Thursday March 28, 2024 @12:59AM (#39847931)
Wondering if you can generate your service stubs and your clients to use for testing from TypeSpec, could it be faster even in the prototyping/early stages to define your spec first? A la gRpc?
Re:Write OpenAPI with TypeSpec by andreasmetsala on Thursday March 28, 2024 @10:53AM (#39852338)
Sounds reasonable.

In an org where the customers are internal teams it makes more sense to sit down together and define a schema first. Then the consumer and provider teams just go away and write the code concurrently without having to waste time talking to each other.

Re:Write OpenAPI with TypeSpec by sroussey on Thursday March 28, 2024 @11:24AM (#39852709)
In this case, write mock data first