I’m trying to design my first API with Stoplight and I’m following this documentation to make sure I’m not doing anything wrong. But when I choose a Reference type for my endpoint’s 200 response, and then click the field after that, I get “No results found” in the dropdown, so I don’t see the Model I already created. Am I doing something wrong here?
sebastien.arbogast (Sebastien Arbogast) #1
erik.hansen (Erik Hansen) #2
Response references at the level your describing must be defined as a shared response
If you don’t create a shared response, then select “Custom Schema” type and add your “model” reference to the schema editor
sebastien.arbogast (Sebastien Arbogast) #3
Thanks a lot. It works.
taylor (Taylor Barnett) #4