github.com/go-swagger/go-swagger@v0.31.0/docs/reference/untyped/server.md (about)

     1  ---
     2  title: server
     3  date: 2023-01-01T01:01:01-08:00
     4  draft: true
     5  ---
     6  # Untyped API server
     7  
     8  The toolkit supports serving a swagger spec with untyped data. This means that it uses mostly interface{} as params to each operation and as result type. It does allow you to serve a spec up quickly. This is one of the building blocks required to serve up stub APIs and to generate a test server with predictable responses.
     9  
    10  <!--more-->
    11  
    12  In this document we'll use the todo list application to build a server that doesn't use any code generation. So we'll load a predefined swagger specification document and serve it up, while writing a minimal amount of code and try to avoid requiring a type cast.  
    13  
    14  Let's start with just