8000 GitHub - ozkanpakdil/swaggerific: Alternative to postman with graalvm meaning native binary exe(windows) file or executable file for Linux and IOS
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ozkanpakdil/swaggerific

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swaggerific

Quality Gate Status CodeRabbit Pull Request Reviews

Overall Downloads on github: All downloads of github releases

You can download the latest version from Github releases Download count of latest releases Follow here for new releases.

A user interface (UI) designed to interact with APIs using Swagger or OpenAPI jsons.

Cool interview

swaggerefic

Features:

  • The UI is built using JavaFX with modern styling and responsive design
  • Comprehensive error handling with user-friendly error messages
  • Retrieve and load Swagger/OpenAPI JSON to fetch API documentation
  • Display a tree view of endpoints on the left-hand side for easy navigation
  • Select specific endpoints and view their details
  • Support for all HTTP methods (GET, POST, PUT, DELETE, etc.)
  • Input data via form fields or JSON editor with syntax highlighting
  • Execute API requests and view formatted responses (JSON/XML)
  • Dropdown/combobox selection for parameters with enumerated values
  • Auto-completion for brackets and quotes in the JSON editor
  • Syntax highlighting for request and response bodies
  • Raw response view for debugging purposes

Architecture:

  • SOLID principles applied throughout the codebase
  • Clean separation between UI and HTTP service layers
  • Modular design with well-defined interfaces
  • Comprehensive error handling and logging
  • Unit and UI tests for critical functionality

Upcoming Features:

  • Authentication support (OAuth, API keys, Basic Auth)
  • Request history and favorites
  • Environment variables and request chaining
  • Team collaboration features
  • Performance metrics and analytics

look

using-get

Running Without Maven

Using the Run Script

We've added a convenient bash script to run the application without requiring Maven:

# Make the script executable (first time only)
chmod +x run.sh

# Run the application
./run.sh

The script will:

  1. Check if Java 17+ is installed
  2. Look for the JAR file in the target directory
  3. Build the project if the JAR doesn't exist (requires Maven)
  4. Run the application with all necessary JVM arguments

Distribution Package

For easy distribution to users, you can create a zip package:

# Make the script executable (first time only)
chmod +x package.sh

# Create the distribution package
./package.sh

This will create a zip file in the dist directory containing:

  • The application JAR
  • Run scripts for Linux/macOS (run.sh) and Windows (run.bat)
  • README with instructions
  • Required resources

Users can simply download the zip, extract it, and run the application using the provided scripts.

Native Build

mvn gluonfx:build gluonfx:nativerun

Update Reflection Classes

There are classes needs to be in the list of reflection list of the compiler(which was in the pom.xml before check 'git history'), that list can be generated from command below, that will update the jsons under META-INF/native-image

./mvnw gluonfx:runagent

https://petstore.swagger.io/#/pet

Open source Support by JetBrains

About

Alternative to postman with graalvm meaning native binary exe(windows) file or executable file for Linux and IOS

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0