Skip to content
#

open-api

Here are 170 public repositories matching this topic...

janephp
Korbeil
Korbeil commented Feb 11, 2021

Is your feature request related to a problem? Please describe.
Not really, it's more a better UX when writting your OpenAPI file

Describe the solution you'd like
Like for Object properties, we should be able to give parameters names as key (to avoid duplication)

Additional context
Here is an example before / after this feature:

get:
  summary: Get an Order
  descri
AdrianoAE
AdrianoAE commented Aug 4, 2021

I'm using the version 0.7.2 and my response type is the following case:

public class Response
{
    public string Test { get; set; }
    public Test[] MyProperty { get; set; }
}

public class Test
{
    public int MyProperty { get; set; }
}

The schema for the Test class won't be generated becase of the property with the same name, if we change it to any other name it works

albertmeronyo
albertmeronyo commented Feb 12, 2021

Currently we are just catching (thanks @c-martinez ) errors when we fail to parse query metadata. These are situations in which the parsing will most probably fail:

  • Empty line at the beginning of the metadata section
  • More than one empty line at the end of the metadata section
  • Inconsistent indenting
  • Etc.
    At the moment the backend fails silently, and simply no OpenAPI spec is rendered f
avatarneil
avatarneil commented May 4, 2021

This package is wonderful, and I've been having a blast working on prototyping serving some of my org's Swagger definitions with it. One thing I've run into, however, is an inability to use file refs as specified in https://redoc.ly/docs/resources/ref-guide/

This is fairly easily reproduced by opening up the example project in this repo, taking one of the schemas in the components section o

Improve this page

Add a description, image, and links to the open-api topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the open-api topic, visit your repo's landing page and select "manage topics."

Learn more