About 9,400,000 results
Open links in new tab
  1. openapi - Open API vs. REST API - difference - Stack Overflow

    Apr 13, 2021 · How is Open API different from a REST API exposed on Internet? When Open API is explained it explains about an API getting exposed in LAN against exposing it to public . So what …

  2. How to generate OpenApi Client SDK project in .Net Core

    Sep 28, 2022 · Now we want to generate an OpenAPI client project to our same .Net Core solutions so that we will be calling the client's API end-point via the OpenAPI project.

  3. openapi - how to indicate that a parameter is conditionally required ...

    Aug 1, 2020 · I have created a RESTful API, and I am now defining the Open API 3.0 JSON representation for the usage of this API. I am requiring usage of a parameter conditionally, when …

  4. OpenAI API: How do I upload a file and ask a model about it?

    Aug 5, 2024 · I am trying to upload a PDF file and ask the model to give me a JSON object containing its data by what it understood. Here is my code: app.get ("/", async (req: Request, res: Response) =&...

  5. How to define enum mapping in OpenAPI? - Stack Overflow

    Mar 4, 2021 · OpenAPI 3.1 OpenAPI 3.1 uses the latest JSON Schema, and the recommended way to annotate individual enum values in JSON Schema is to use oneOf + const instead of enum. This way …

  6. javascript - Convert Open Api specification to postman collection ...

    Mar 9, 2023 · You don't have to manually convert your open Api specifications because postman already supports them. go to postman and click import choose your open api file you will have all your apis …

  7. Generate `LocalTime` from OpenAPI specification - Stack Overflow

    Oct 6, 2021 · I see that there is a date format for strings in OpenAPI, and that by using dateLibrary=java8 we can generate LocalDate fields by using openapi-generator. But is there any …

  8. AddOpenApi - Adding Error Response types to all operations - .NET 9

    Nov 14, 2024 · So when generating the Open API files, it only contains the success response types: Which is okay if your API never returns an Error Response, I like to handle my errors using a custom …

  9. How to open local files in Swagger-UI - Stack Overflow

    May 22, 2015 · 37 Simplest way: Run npx open-swagger-ui --open <path or URL> That’ll start a local Web server that has the Swagger UI built in, and will open your browser right to the page, preloaded …

  10. Swagger is not Working Asp.net Core how to open swagger ui

    Jul 29, 2020 · When accessed, it returns a permanent redirect to the page where you can test the API. This permanent redirect is stored in the browser and has effect even if RoutePrefix is changed.