Converting generated types to JSON API spec #1266
              
                Unanswered
              
          
                  
                    
                      domschab23
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| @duncanbeevers opened a related issue on this here: #1328. Though you’re asking for something slightly-different, I do see a lot of overlap here when it comes to serialization/deserialization. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using https://jsonapi.org/ format to serialize my data on the backend and then deserialize that data on the frontend with https://github.com/olosegres/jsona to have more simplified objects. This package caught my interest to generate types based on my openAPI docs. However, those types are generated for the JSON API format before deserialization. I'm interested in having types match simplified object after deserialization happens. Did anyone experience something similar? Is there a way to account for this with openapi-typescript package?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions