Skip to content
This is a Paw Extension that generates Moya code.
JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 12 commits ahead of lkuczborski:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
IPv6.js
LICENSE
README.md
SecondLevelDomains.js
SwiftMoyaCodeGenerator.js
URI.js
URI.min.js
moya.mustache
mustache.js
punycode.js

README.md

Swift Moya Code Generator (Paw Extension)

A Paw Extension that generates Moya code for you!

Install via Paw

Install Directly

  • Donwload the project and rename the folder to com.nam.PawExtensions.SwiftMoyaCodeGenerator
  • Open Paw -> Preferences -> Extensions -> Open Extensions Directory
  • Copy the com.nam.PawExtensions.SwiftMoyaCodeGenerator folder to extensions directory

Features

  • Parsing query params
  • Parsing key-value object provided as JSON Body
  • Type matching for params (String or Int based on param data provided in PAW, e.g. id = 2 will generate let id: Int)

License

This Paw Extension is released under the MIT License. Feel free to fork, and modify!

Bug report

Create a github issue or email to contato@narlei.com

Credits

  • Mustache.js, also released under the MIT License
  • URI.js, also released under the MIT License

Pay me a coffee:

paypal

You can’t perform that action at this time.