Coder Social home page Coder Social logo

vernou.swashbuckle.httpresultsadapter's People

Contributors

vernou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

hjrb

vernou.swashbuckle.httpresultsadapter's Issues

Initialize the solution

We need to initialize the solution with the projects :

  • Class library project
  • ASP.NET Core API project that use the class library project
  • xUnit Test project that check the Open Api Specification from the API project

The Open Api Response Content type need to be adaptable

Currently the Open Api Response Content Type is still "application/json".
But the API can have other content type response. This need to specify in the OAS.

The best is to get the information from API's metadata.
As a last resort, this will be done through configuration.

Ignore minimal API endpoint

Minimal API endpoint has suitable metadatas and Open API Schema is correct.
So it do not need this filter fix.

The filter fix need to ignore minimal API endpoint.

Remove older tests

The older tests relied on suppositions. But the more recent tests, which compare with "minimal api", are most relevant.
So we can delete the old ones.

Response decription as Swashbuckle generate it

The Open API Response description need to be as Swashbuckle generate it.

For example, Swashbuckle generate "Success" for the Open API Response description to 200 (OK).

The description come from Swashbuckle by SwaggerGenerator. As it is private, we have to copy it.

Support for async methods

Hi,
many Controllers have async methods. this case is currently not addressed yet. It would be great if you could add support for this as well.
Many thanks for providing this - really needed (even though MS should provide this)

Merge test projects

The test project was split because dotnet test fail in GitHub Action where Task is waited outside a test.
The solution is avoid to wait Task.

We need to fix that and merge test projects.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.