{"id":28056359,"url":"https://github.com/cjp2600/cutos","last_synced_at":"2025-05-12T06:10:39.913Z","repository":{"id":52232919,"uuid":"309656196","full_name":"cjp2600/cutos","owner":"cjp2600","description":"The easiest way to write OpenAPI 3 documentation using curl copy","archived":false,"fork":false,"pushed_at":"2022-08-03T11:30:14.000Z","size":115,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T03:18:33.744Z","etag":null,"topics":["curl","json","openapi","openapi3","swagger"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cjp2600.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-03T10:52:31.000Z","updated_at":"2024-02-13T19:55:53.000Z","dependencies_parsed_at":"2022-08-26T04:11:05.101Z","dependency_job_id":null,"html_url":"https://github.com/cjp2600/cutos","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjp2600%2Fcutos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjp2600%2Fcutos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjp2600%2Fcutos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjp2600%2Fcutos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjp2600","download_url":"https://codeload.github.com/cjp2600/cutos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253685226,"owners_count":21947308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["curl","json","openapi","openapi3","swagger"],"created_at":"2025-05-12T06:10:39.272Z","updated_at":"2025-05-12T06:10:39.908Z","avatar_url":"https://github.com/cjp2600.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cutos - (Curl to Swagger) \n\nCutos provides a terminal UI for writing OpenAPI3 and documentation with the easy way by copying сurl queries and json responses.\nThe project is in the early alpha version and is not a candidate for the main developer installation.\nThe project is a weekend project and was created exclusively to meet the needs of the author.\n\n---\n\n\n## Installation\n\ncutos is available on Linux, macOS and Windows platforms.\n\n* Binaries for Linux, Windows and Mac are available as tarballs in the [release](https://github.com/cjp2600/cutos/releases) page.\n* Use `go get` to install the latest version of the tools. This command will install the cutos with dependencies:\n```shell\ngo get -u github.com/cjp2600/cutos\n```                                                           \n---\n\n## Create new swagger document\nIf a file with documentation is not created, it should be created using the `init` command. \n```shell\ncatos init swagger.json\n```\n\u003e The utility will ask for basic data to create a documentation file\n\n## Append new path from curl\nIf the file has already been created or was already created, you can add a new path using the following command:\n```shell\ncutos add curl swagger.json\n```\n\u003e The utility will open a new listener of your clipboard to create a patch.\n\u003e You can easily use programs that allow you to export to the curl format. Such as [Insomnia](https://insomnia.rest/download/), [Postman](https://www.postman.com/) or Browser\n\n## Configuration\nBy default the utility looks for the configuration file in this path default is **$HOME/.cutos.yaml**\nBut you can always rewrite the path to the configuration file explicitly in the following parameter **--config=**\n```shell\ncutos add curl swagger.json --config=config.yml\n```\n## Example configuration:\n```YAML\n#\n# Basic application settings\n#\napplication_settings:\n\n  # List of headers params to be skipped\n  skipped_headers:\n    - accept\n    - authority\n    - user-agent\n    - content-type\n    - origin\n    - sec-fetch-site\n    - sec-fetch-mode\n    - sec-fetch-dest\n    - referer\n```\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjp2600%2Fcutos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjp2600%2Fcutos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjp2600%2Fcutos/lists"}