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.
Then switch as soon as you have customers.